Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- logo: &7[&bSkywars"
- jmax: 1
- command /skywars <text> <text> <text>:
- trigger:
- if arg 1 is "join":
- if {skywars.start} is false:
- if {skywars.%player%.start} is false:
- set {skywars.%player%.start} to true
- set {skywars.start} to true
- add 1 to {skywars.join}
- teleport player to {skywars.waiting}
- loop all players in world "skywars":
- send "{@logo} &a%loop-player% &7(%{skywars.join}%/12&7"
- if {skywars.join} is equal to {@jmax}:
- make console execute command "skywars start"
- else:
- send "{@logo} &cJoin Agaien"
- else:
- send "@logo} &cno party"
- if arg 1 is "set":
- if arg 2 is "ile":
- set variable {skywars.location::%arg 3%} to location of player
- send "&aSpawn %arg 3% set en : &b{skywars.location::%arg 3%}%"
- if arg 2 is "waiting":
- set {skywars.wait} to location of player
- send "waiting set!"
- if arg is 1 "stop":
- set {skywars.%player%.start} to false
- set {skywars.start} to false
- set {skywars.join} to 0
- loop all players in world "skywars":
- teleport loop-player to {hub.loc}
- if arg 1 is "start":
- set {skywars.start} to true
- loop all players in world "skywars":
- send "{@title} &aGame start in 10 seconds"
- wait 5 seconds
- loop all players in world "skywars":
- send "{@title} &aGame start in 5 seconds"
- wait 1 seconds
- loop all players in world "skywars":
- send "{title} &aGame start in 4 seconds"
- wait 1 seconds
- loop all players in world "skywars":
- send "{title} &aGame start in 3 seconds
- wait 1 seconds
- loop all players in world "skywars":
- send "{title} &aGame start in 2seconds
- wait 1 seconds
- loop all players in world "skywars":
- send "{title} &aGame start in 1 seconds
- wait 1 seconds
- loop all players in world "skywars":
- send "{@title} game start"
- set {_tp} to 0
- teleport loop-player to {skywars.locatiom::%{_tp}%}
- add 1 to {_tp}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement