Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.52 KB | None | 0 0
  1.  
  2. on damage:
  3.     if y coordinate of location of victim <= 0:
  4.         cancel event
  5.         apply jump boost 128 to the victim for 8 ticks
  6.         teleport the victim to world's spawn point
  7.         stop
  8.     else:
  9.         victim is player
  10.         damage is more than victim's health - 0.01
  11.         cancel event
  12.         push the victim upwards at speed 0.33
  13.         execute console command "/gamemode 3 %victim%"
  14.         set victim's health to 20
  15.         set the victim's food level to 10
  16.         wait 5 seconds
  17.         execute console command "/gamemode 1 %victim%"
  18.         teleport victim to world's spawn point
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement