Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- logo: &4&lR&eU&f&lN
- variables:
- {gra.%player%} = false
- on join:
- if {gra.%player%} is true:
- set {gra.%player%} to false
- teleport player to {spawn}
- clear player's inventory
- loop 36 times:
- set slot {_count} of player's inventory to {inv.%player%.%{_count}%.main}
- add 1 to {_count}
- set the helmet of player to {inv.%player%.helmet.main}
- set the chestplate of player to {inv.%player%.chest.main}
- set the leggings of player to {inv.%player%.legs.main}
- set the boots of player to {inv.%player%.feet.main}
- set {gra.%player%} to false
- on walking on wool:
- set block under player to yellow wool
- on walking on yellow wool:
- set block under player to red wool
- on walking on red wool:
- set block under player to air
- on walking on wool:
- wait 5 seconds
- set block under player to air
- on walking on yellow wool:
- wait 7 seconds
- set block under player to air
- on walking on red wool:
- wait 8 seconds
- set block under player to air
- on jump:
- if {gra.%player%} is true:
- cancel event
- command /run [<text>] [<text>] [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- send "{@logo}"
- send ""
- send "&e/run join"
- send "&e/run leave"
- if arg 1 is "join":
- if arg 2 is set:
- set {_count} to 0
- loop 36 times:
- set {inv.%player%.%{_count}%.main} to slot {_count} of player's inventory
- message "{inv.%player%.%{_count}%.main} is %{inv.%player%.%{_count}%.main}%"
- add 1 to {_count}
- set {inv.%player%.helmet.main} to player's helmet
- set {inv.%player%.chest.main} to player's chestplate
- set {inv.%player%.legs.main} to player's leggings
- set {inv.%player%.feet.main} to player's boots
- clear player's inventory
- set {_count} to 0
- set {gra.%player%} to true
- teleport player to {arena.lobby.%arg 2%}
- send "&eDolaczyles do %arg 2%"
- else:
- send "&4Podaj nazwe areny!"
- if arg 1 is "admin":
- if arg 2 is "set":
- if arg 3 is "lobby":
- set {arena.lobby.%arg 4%} to location of player
- send "&4Ustawiles lobby"
- if arg 3 is "spawnarena":
- if arg 4 is set:
- set {arena.spawn.%arg 4%} to location of player
- send "&4Ustawiles spawn dla areny %arg 4%"
- else:
- send "&4Poprawne uzycie: /run admin set lobby lub /run admin set spawnarena [nr areny] lub admin create [arena] lub admin remove [arena]"
- if arg 2 is "create":
- if arg 3 is set:
- add {arena.%arg 3%} to {areny::*}
- send "&4Stworzyles arene %arg 3%}"
- if arg 2 is "remove":
- if arg 3 is set:
- remove {arena.%arg 3%} from {areny::*}
Advertisement
Add Comment
Please, Sign In to add comment