Sky-Ambulance - SKRIPT icon

Sky-Ambulance - SKRIPT -----

Add a script that adds medkits and a wait to respawn functions



⚰️ Death Wait Time + Medkit Skript
Realistic death handling with respawn timer and medkits!

Description
Add a layer of realism to your Minecraft server with this Skript! When players die, they enter spectator mode with a countdown timer before they can respawn. Players can bypass this timer by using a medkit (written book). Perfect for roleplay servers, PvP environments, or hardcore gameplay!

Features
✔️ Respawn timer after death (customizable)
✔️ Spectator mode during wait time
✔️ Medkits (written books) allow instant respawn
✔️ Movement restriction while in spectator mode
✔️ Location restored after death
✔️ Auto-restart on server crash or relog
✔️ Easy to install, no extra plugins required (optional kit system)

⚙️ Requirements
  • Skript (recommended version 2.6+)

  • EssentialsX (optional – for /kit medkit)

  • Permissions plugin like LuckPerms (optional – for medkit permissions)
Commands
Command Description Permission
/medkit [player] Gives a medkit (book) via kit healer.give
How It Works
  • Player dies → Saved and switched to spectator mode

  • Respawn timer starts (default: 120 seconds)

  • Has medkit? → Instantly respawns and returns to death location

  • No medkit? → Wait out the timer

  • Rejoins server? → Death process resumes automatically

  • Moves in spectator mode? → Sent back to death location
Medkits
Players can use written books as medkits.
Right-clicking with one will immediately heal and respawn them.

Skript snippet:

skript
on rightclick with written book:
if player has permission "healer.use":
heal player
send "&aYou have been healed using a medkit!" to player

Use /medkit or /kit medkit to give the item.

⚙️ Configuration
You can easily adjust the wait time at the top of the Skript:

skript
options:
wait_time: 120

And set a default respawn location if needed:

skript
set {deathlocation::%victim%} to location(507, 56, 153, world of victim)

Installation
  1. Place this Skript in plugins/Skript/scripts/

  2. Modify wait time and locations if necessary

  3. Reload Skript with /sk reload <filename>

  4. Make sure players have the healer.use permission to use medkits
Example
❌ You have died!
⏳ Respawn in 119 seconds...
Holding a medkit?
✅ Instantly revived!

Texture Pack
For best experience, use the custom medkit texture:
Download Sky-Ambulance V1.0 Texture Pack
Resource Information
Author:
----------
Total Downloads: 36
First Release: May 8, 2025
Last Update: May 9, 2025
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings