View difference between Paste ID: cLzjUHyt and pg9ng17g
SHOW: | | - or go back to the newest paste.
1
on death:
2
	cancel event
3
	set player's gamemode to spectator
4
	wait 5 seconds
5
	teleport %player% to location (0, 0, 0)
6
	heal the %player%
7
        set the %player% food level to 20
8
	set player's gamemode to adventure