Guest User

AJUDE-ME

a guest
Aug 1st, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. variables:
  2. {Parkour.pessoas} = 0
  3.  
  4. on sign change:
  5. if line 1 of block is "[Parkour]":
  6. set line 1 to "&b[Parkour]"
  7. wait 2 ticks
  8. if {Parkour.acontecendo} is false:
  9. set line 3 to "&4&lOFFLINE"
  10. set line 4 to "&f&l0 players"
  11. stop
  12. wait 2 ticks
  13. if {Parkour.acontecendo} is true:
  14. set line 3 to "&4&lEM JOGO"
  15. set line 4 to "&f&l%{Parkour.pessoas}% players"
  16. stop
  17. wait 2 ticks
  18. if {Parkour.iniciando} is true:
  19. set line 3 to "&e&lINICIANDO"
  20. set line 4 to "&f&l%{Parkour.pessoas}% players"
  21. stop
  22.  
  23. on rightclick on a sign:
  24. if line 1 of the clicked block is "&b[Parkour]":
  25. if line 3 of the clicked block is "&4&lOFFLINE":
  26. send "{@P} O Evento esta offline!"
  27. if line 3 of the clicked block is "&4&lEM JOGO":
  28. send "{@P} O Evento ja esta acontecendo!"
  29. if line 3 of the clicked block is "&e&lINICIANDO":
  30. teleport player to {Parkour.spawn}
  31. send "{@P} Teleportado!"
Advertisement
Add Comment
Please, Sign In to add comment