Advertisement
white17154

system.sk

Apr 4th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. on join:
  2. set rf max hp of player to 40
  3. heal the player
  4. if {mp.%player%} is not set:
  5. set {mp.%player%} to 100
  6.  
  7. on damage:
  8. execute console command "/particle blockcrack %x-coords of victim% %y-coords of victim% %z-coords of victim% 0.25 0.75 0.25 1 50 mode @a 152"
  9.  
  10. on command:
  11. sender is player
  12. send "&7[CMD] %sender% >>> /%full command%" to ops
  13.  
  14. on damage:
  15. wait a tick
  16. repair attacker's tool
  17.  
  18. on death:
  19. wait a tick
  20. repair attacker's tool
  21.  
  22. every a tick:
  23. loop all players:
  24. if level of loop-player is more than or equal to {mp.%loop-player%}:
  25. set level of loop-player to {mp.%loop-player%}
  26. level of loop-player is less than {mp.%loop-player%}
  27. if loop-player is sneaking:
  28. the block below loop-player is not air
  29. add {mp.%loop-player%} / 3000 to level progress of loop-player
  30. add {mp.%loop-player%} / 4500 to level progress of loop-player
  31.  
  32. on respawn:
  33. wait a tick
  34. set level of player to {mp.%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement