Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death:
- wait 1 tick
- force the player to respawn
- wait 1 second
- send player title "&cYou are death" with subtitle "&arespawn in 5 seconds" for 5 seconds
- set player's gamemode to spectator
- teleport player to location at 0, 50, 0 in "world"
- wait 5 seconds
- set player's gamemode to adventure
- teleport player to location at 0.5, 50, 0.5 in "world"
- console command "/effect %player% saturation 100000 255 true"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement