Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- victim is player
- damage is more than victim's health - 0.01
- cancel event
- push the victim upwards at speed 0.33
- execute console command "/gamemode 3 %victim%"
- set victim's health to 20
- set the victim's food level to 10
- wait 5 seconds
- execute console command "/gamemode 1 %victim%"
- teleport victim to world's spawn point
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement