GamePL7

Untitled

Jul 30th, 2017
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. command /superknock [<text>]:
  2. trigger:
  3. if arg 1 is "on":
  4. send "&6&l+> &7STAN:&a&l WLACZONO"
  5. send "&aDodatek SuperKNOCK by &6GamePL7 &7(youtube.com/GamePL7)"
  6. set {exe.%player%} to "true"
  7. if arg 1 is "off":
  8. send "&6&l+> &7STAN:&4&l WYLACZONO"
  9. send "&aDodatek SuperKNOCK by &6GamePL7 &7(youtube.com/GamePL7)"
  10. set {exe.%player%} to "false"
  11. if arg 1 is not "on" or "off":
  12. send "&cPoprawne uzycie: &a/superknock on/off"
  13. if arg 1 is not set:
  14. send "&cPoprawne uzycie: &a/superknock on/off"
  15. if arg 1 is "give":
  16. if player have permission "sknock.give":
  17. give 1 diamond sword named "&a&lSuper&6&lKNOCK" with lore "&cKnockuj:||&8-&azwierzeta||&8-&aludzi||&8-&awszystko, co sie rusza!||||||&8BY GAMEPL7||&7youtube.com/GamePL7" to the player
  18. else:
  19. send "&cPoprawne uzycie: &a/superknock on/off"
  20. on join:
  21. set {exe.%player%} to "false"
  22. on rightclick on entity:
  23. if player's tool is diamond sword:
  24. if name of player's tool is "&a&lSuper&6&lKNOCK":
  25. if {exe.%player%} is "true":
  26. if {l.%player%} is not set:
  27. set {l.%player%} to "5"
  28. if {l.%player%} is "1":
  29. push clicked entity upwards at speed 1.69
  30. wait 1 tick
  31. push clicked entity in the direction of the player at speed 2.69
  32. set {l.%player%} to "5"
  33. damage tool by 10
  34. if {l.%player%} is "0":
  35. push clicked entity upwards at speed 1.69
  36. wait 1 tick
  37. push clicked entity in the direction of the player at speed 2.69
  38. set {l.%player%} to "5"
  39. damage tool by 10
  40. wait 1 tick
  41. else:
  42. send "&cSUPERKNOCK jest wylaczony! &aWlacz go komenda: &7/superknock on"
  43. on join:
  44. set {l.%player%} to "1"
  45. every 1 second:
  46. loop all players:
  47. if {l.%loop-player%} is "2":
  48. set {l.%loop-player%} to "1"
  49. send "&aMozesz uzyc &a&lSuper&6&lKNOCK&7'a!" to loop-player
  50. if {l.%loop-player%} is "3":
  51. set {l.%loop-player%} to "2"
  52. if {l.%loop-player%} is "4":
  53. set {l.%loop-player%} to "3"
  54. if {l.%loop-player%} is "5":
  55. set {l.%loop-player%} to "4"
Advertisement
Add Comment
Please, Sign In to add comment