Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /buildbattle [<text>] [<number>]:
- trigger:
- if arg 1 is "setlobby":
- set {main.lobby} to location of player
- send "&eMain Lobby Succesfull set"
- if arg 1 is "setspawn":
- if arg number is set:
- set {spawn.%arg-number%} to location of player
- send "&eSpawn %arg-number% succesfull set to %location of player%"
- else:
- send "&cYou must add number spawn"
- if arg 1 is "join":
- set {playing.%player%} to true
- send "&eYou Joined the game"
- teleport player to {main.lobby}
- wait 10 seconds
- set {sec.start} to 10
- loop 10 times:
- send "&eStarting game in %{sec.start}% seconds"
- remove 1 from {sec.time}
- wait 1 second
- set {_loc} to 0
- loop 8 times: #need 8 spawns set
- teleport player to {spawn.%{_loc}%}
- add 1 to {_loc}
- send "&eLGame has Started"
- #You CODE HERE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement