Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {Parkour.pessoas} = 0
- on sign change:
- if line 1 of block is "[Parkour]":
- set line 1 to "&b[Parkour]"
- wait 2 ticks
- if {Parkour.acontecendo} is false:
- set line 3 to "&4&lOFFLINE"
- set line 4 to "&f&l0 players"
- stop
- wait 2 ticks
- if {Parkour.acontecendo} is true:
- set line 3 to "&4&lEM JOGO"
- set line 4 to "&f&l%{Parkour.pessoas}% players"
- stop
- wait 2 ticks
- if {Parkour.iniciando} is true:
- set line 3 to "&e&lINICIANDO"
- set line 4 to "&f&l%{Parkour.pessoas}% players"
- stop
- on rightclick on a sign:
- if line 1 of the clicked block is "&b[Parkour]":
- if {Parkour.acontecendo} is false:
- set line 3 to "&4&lOFFLINE"
- send "{@P} O Evento esta offline!"
- if line 3 of the clicked block is "&4&lOFFLINE":
- send "{@P} O Evento esta offline!"
- if line 3 of the clicked block is "&4&lEM JOGO":
- send "{@P} O Evento ja esta acontecendo!"
- if line 3 of the clicked block is "&e&lINICIANDO":
- teleport player to {Parkour.spawn}
- send "{@P} Teleportado!"
- if {Parkour.acontecendo} is true:
- set line 3 to "&4&lEM JOGO"
- set line 4 to "&f&l%{Parkour.pessoas}% players"
- if line 3 of the clicked block is "&4&lOFFLINE":
- send "{@P} O Evento esta offline!"
- if line 3 of the clicked block is "&4&lEM JOGO":
- send "{@P} O Evento ja esta acontecendo!"
- if line 3 of the clicked block is "&e&lINICIANDO":
- teleport player to {Parkour.spawn}
- send "{@P} Teleportado!"
- if {Parkour.iniciando} is true:
- set line 3 to "&e&lINICIANDO"
- set line 4 to "&f&l%{Parkour.pessoas}% players"
- if line 3 of the clicked block is "&4&lOFFLINE":
- send "{@P} O Evento esta offline!"
- if line 3 of the clicked block is "&4&lEM JOGO":
- send "{@P} O Evento ja esta acontecendo!"
- if line 3 of the clicked block is "&e&lINICIANDO":
- teleport player to {Parkour.spawn}
- send "{@P} Teleportado!"
Advertisement
Add Comment
Please, Sign In to add comment