Advertisement
pz_neko

Untitled

Aug 12th, 2019
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. on Damage:
  2. victim is a zombie
  3. if victim's health - Damage is less than 0:
  4. cancel event
  5. heal victim
  6.  
  7. else:
  8. stop
  9.  
  10. on RightClick on a monster:
  11. Player is Sneaking
  12. Player has permission "admin.sk"
  13. open chest with 3 row named "&A&lSetting" to player
  14. loop 27 time:
  15. add 1 to {_n}
  16. if {_n}-1 is not 10 or 12 or 14 or 16:
  17. set slot {_n}-1 of Player's current inventory to dark gray glass pane
  18.  
  19. on inventory Click:
  20. if name of Player's current inventory contains "&A&lSetting":
  21. if clicked-item is dark gray glass pane:
  22. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement