Advertisement
pz_neko

Untitled

Aug 19th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. on RightClick with hoe:
  2. {gun.%Player%} is set
  3. {_ct.%Player%} is not set
  4. set {_ct.%Player%} to true
  5. loop 10 time:
  6. shoot an snowball from player at speed 3
  7. Damage Player's tool by 1
  8. wait 0.1 second
  9. delete {_ct.%Player%}
  10.  
  11. on damage:
  12. projectile is snowball
  13. make attacker damage victim by 1
  14.  
  15. command /spawn:
  16. trigger:
  17. teleport Player to {spawn}
  18.  
  19. command /setspawn:
  20. permission: admin.sk
  21. trigger:
  22. set {spawn} to Player's location
  23.  
  24. command /gun:
  25. trigger:
  26. if {gun.%Player%} is set:
  27. delete {gun.%Player%}
  28. send "off"
  29. stop
  30. else:
  31. set {gun.%Player%} to true
  32. send "on"
  33. stop
  34.  
  35. on entity target:
  36. target entity is Player
  37. loop all items in Player's inventory:
  38. loop-item is pumpkin
  39. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement