Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click on sign:
- if line 1 of clicked-entity is "Statek":
- if line 3 of clicked-entity is "Oczekiwanie":
- execute player command "Archery dolacz statek"
- else:
- send "&6&l>> &aGra juz wystartowala!" to player
- every 2 seconds:
- loop all players:
- loop all blocks in radius 5 around loop-player:
- if loop-block is sign:
- if line 1 is "Statki:
- if line 2 is set:
- if (size of {Archery::statki::*}) >= 9:
- set line 3 of loop-block to "W trakcie"
- else:
- set line 3 of loop-block to "(size of {Archery::statki::*})//10"
- on command /archery [<text> [<text>]:
- trigger:
- if arg 1 is "Statek":
- add player to {Archery::statek: :*}
- if (size of {Archery::statek: :*}) >= 9:
- loop {Archery::statek: :*}:
- set {_g} to loop-value
- set {_g} to {_g} parsed as player
- send "&eStart areny za 5s!" to {_g}
- wait 5 seconds
- teleport {_g} to {Archery::statek}
Advertisement
Add Comment
Please, Sign In to add comment