Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {balance::%player%} = 0
- {Kills::%player%} = 0
- {Deaths::%player%} = 0
- {Escapes::%player%} = 0
- {keys::%player%} = 0
- on chat:
- cancel event
- broadcast "%{rank::%player%}% &7%player%&8| &7%message%"
- every 1 second:
- loop all players:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&8» &3&lCITYESCAPE &8«"
- set score "&1" in sidebar of loop-player to 12
- set score "&3Player:" in sidebar of loop-player to 11
- set score "&3- &bUsername &8|&7 %loop-player%" in sidebar of loop-player to 10
- set score "&3- &bBalance &8|&7 %{balance::%loop-player%}%" in sidebar of loop-player to 8
- set score "&3" in sidebar of loop-player to 7
- set score "&3Stats:" in sidebar of loop-player to 6
- set score "&3- &bKills &8|&7 %{Kills::%loop-player%}%" in sidebar of loop-player to 5
- set score "&3- &bDeaths &8|&7 %{Deaths::%loop-player%}%" in sidebar of loop-player to 4
- set score "&3- &bEscapes &8|&7 %{Escapes::%loop-player%}%" in sidebar of loop-player to 3
- set score "&5" in sidebar of loop-player to 2
- set score "&7&oCityEscape.minehut.gg" in sidebar of loop-player to 1
- command /spawn:
- trigger:
- send player title "&5&lTELEPORTING" with subtitle "&d3."
- wait 1 second
- send player title "&5&lTELEPORTING" with subtitle "&d2."
- wait 1 second
- send player title "&5&lTELEPORTING" with subtitle "&d1."
- wait 1 second
- send player title "&5&lTELEPORTING" with subtitle "&d0...."
- teleport player to {spawnloc}
- command /crates:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&5&lCrates &d%{keys::%player%}%" to player
- format slot 0 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 8 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 9 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 17 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 26 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 18 of player with arrow named "&cClose" with lore "&7&oR-Click" to close
- format slot 0 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 1 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 2 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 3 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 4 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 5 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 6 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 7 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 19 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 20 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 21 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 22 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 23 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 24 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- format slot 25 of player with gray glass pane named "&7" to close then run [execute player command "crates"]
- command /announce [<text>]:
- permission: skript.announce
- trigger:
- broadcast ""
- broadcast "&5&lANNOUNCEMENT &8| &7%arg-1%"
- broadcast ""
- send players title "&5%player%" with subtitle "&d%arg-1%"
- on rightclick:
- if block is green concrete:
- open chest with 3 rows named "&5&lJob Place &d-" to player
- format slot 0 of player with gray glass pane named "&7" to close
- format slot 8 of player with gray glass pane named "&7" to close
- format slot 9 of player with gray glass pane named "&7" to close
- format slot 17 of player with gray glass pane named "&7" to close
- format slot 26 of player with gray glass pane named "&7" to close
- format slot 18 of player with arrow named "&cClose" with lore "&7&oR-Click" to close
- format slot 0 of player with gray glass pane named "&7" to close
- format slot 1 of player with gray glass pane named "&7" to close
- format slot 2 of player with gray glass pane named "&7" to close
- format slot 3 of player with gray glass pane named "&7" to close
- format slot 4 of player with gray glass pane named "&7" to close
- format slot 5 of player with gray glass pane named "&7" to close
- format slot 6 of player with gray glass pane named "&7" to close
- format slot 7 of player with gray glass pane named "&7" to close
- format slot 19 of player with gray glass pane named "&7" to close
- format slot 20 of player with gray glass pane named "&7" to close
- format slot 21 of player with gray glass pane named "&7" to close
- format slot 22 of player with gray glass pane named "&7" to close
- format slot 23 of player with gray glass pane named "&7" to close
- format slot 24 of player with gray glass pane named "&7" to close
- format slot 25 of player with gray glass pane named "&7" to close
- format slot 10 of player with stonepickaxe named "&3Miner's Job." with lore "&8&m------------------- %nl% &7 %nl% &3Stats: %nl% &bA job where you have to mine to victory! %nl% &7 %nl% &3Requirements %nl% &b1x Wooden Stick. %nl% &b$0 %nl% &7 %nl% &8&m--------------------" to close then run [execute player command "minerjob"]
- command /rank [<player>] [<text>]:
- permission: skript.rank
- trigger:
- if arg 1 is not set:
- send "&7&oPlease select a player and a rank."
- if arg 1 is set:
- if arg 2 is "Owner":
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement