Advertisement
Aooni-Server

respawn

Jun 26th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. on death:
  2. wait 1 tick
  3. force the player to respawn
  4. wait 1 second
  5. send player title "&cYou are death" with subtitle "&arespawn in 5 seconds" for 5 seconds
  6. set player's gamemode to spectator
  7. teleport player to location at 0, 50, 0 in "world"
  8. wait 5 seconds
  9. set player's gamemode to adventure
  10. teleport player to location at 0.5, 50, 0.5 in "world"
  11. console command "/effect %player% saturation 100000 255 true"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement