Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- wait 60 ticks
- set {antybot::%player%} to true
- set {welna.%player%} to random integer between 0 and 8
- wait 1 ticks
- if {welna.%player%} is 0:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 0 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 1:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 1 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 2:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 2 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 3:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 3 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 4:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 4 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 5:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 5 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 6:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 6 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 7:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 7 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 8:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 8 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- on join:
- if {antybot::%player%} is set:
- set {welna.%player%} to random integer between 0 and 8
- wait 60 ticks
- if {welna.%player%} is 0:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 0 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 1:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 1 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 2:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 2 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 3:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 3 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 4:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 4 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 5:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 5 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 6:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 6 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 7:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 7 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- if {welna.%player%} is 8:
- open chest with 1 rows named "&2&lNACISNIJ NA ZIELONA WELNE !!" to player
- wait 2 ticks
- format slot 8 of player with 1 of green wool named "&2Zielona" to close then run [execute console command "/ikhanti zielona %player%"]
- stop
- On Inventory Close:
- if {antybot::%player%} is set:
- wait 1 ticks
- kick player due to "&2&lNACISNIJ NA ZIELONA WELNE !!"
- stop
- command /ikhanti [<text>] [<player>]:
- permission: kithc.cmd.ikhanti
- trigger:
- if arg-2 is set:
- if arg-1 is "zielona":
- clear {antybot::%player-arg%}
- launch ball large firework colored green and red and blue at player-arg timed 1
- send "&cANTY-BOT &aWeryfikacja zostala zakonczona sukcesem!" to player-arg
- stop
Advertisement
Add Comment
Please, Sign In to add comment