Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /superknock [<text>]:
- trigger:
- if arg 1 is "on":
- send "&6&l+> &7STAN:&a&l WLACZONO"
- send "&aDodatek SuperKNOCK by &6GamePL7 &7(youtube.com/GamePL7)"
- set {exe.%player%} to "true"
- if arg 1 is "off":
- send "&6&l+> &7STAN:&4&l WYLACZONO"
- send "&aDodatek SuperKNOCK by &6GamePL7 &7(youtube.com/GamePL7)"
- set {exe.%player%} to "false"
- if arg 1 is not "on" or "off":
- send "&cPoprawne uzycie: &a/superknock on/off"
- if arg 1 is not set:
- send "&cPoprawne uzycie: &a/superknock on/off"
- if arg 1 is "give":
- if player have permission "sknock.give":
- 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
- else:
- send "&cPoprawne uzycie: &a/superknock on/off"
- on join:
- set {exe.%player%} to "false"
- on rightclick on entity:
- if player's tool is diamond sword:
- if name of player's tool is "&a&lSuper&6&lKNOCK":
- if {exe.%player%} is "true":
- if {l.%player%} is not set:
- set {l.%player%} to "5"
- if {l.%player%} is "1":
- push clicked entity upwards at speed 1.69
- wait 1 tick
- push clicked entity in the direction of the player at speed 2.69
- set {l.%player%} to "5"
- damage tool by 10
- if {l.%player%} is "0":
- push clicked entity upwards at speed 1.69
- wait 1 tick
- push clicked entity in the direction of the player at speed 2.69
- set {l.%player%} to "5"
- damage tool by 10
- wait 1 tick
- else:
- send "&cSUPERKNOCK jest wylaczony! &aWlacz go komenda: &7/superknock on"
- on join:
- set {l.%player%} to "1"
- every 1 second:
- loop all players:
- if {l.%loop-player%} is "2":
- set {l.%loop-player%} to "1"
- send "&aMozesz uzyc &a&lSuper&6&lKNOCK&7'a!" to loop-player
- if {l.%loop-player%} is "3":
- set {l.%loop-player%} to "2"
- if {l.%loop-player%} is "4":
- set {l.%loop-player%} to "3"
- if {l.%loop-player%} is "5":
- set {l.%loop-player%} to "4"
Advertisement
Add Comment
Please, Sign In to add comment