upoupo0201

粘着ボール

Nov 2nd, 2024
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on projectile hit:
  2. projectile is a snowball
  3. shooter is a player
  4. if victim is a player:
  5. if {snowballCCI::%victim%} is false:
  6. apply slowness 10 to the victim for 5 seconds
  7. set {stun::%victim%} to true
  8. set {snowballCCI::%victim%} to true
  9. set {snowballCCITime::%victim%} to 20
  10. wait 5 seconds
  11. delete {stun::%victim%}
  12.  
  13. on damage:
  14. attacker is player
  15. victim is player
  16. if {stun::%victim%} is set:
  17. damage victim by 1 hearts
  18.  
  19. every 1 seconds:
  20. loop all players:
  21. if {snowballCCITime::%loop-player%} > 0:
  22. reduce {snowballCCITime::%loop-player%} by 1
  23. else:
  24. set {snowballCCI::%victim%} to false
  25.  
Advertisement
Add Comment
Please, Sign In to add comment