70sOn7

Untitled

Apr 16th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. on join:
  2. sp player
  3. push player upwards at speed 2
  4. set {iq.%player%} to false
  5. set {ig.%player%} to false
  6. function sp(p: player):
  7. teleport {_p} to world's spawnpoint
  8. clear {_p}'s inventory
  9. set slot 4 of {_p} to compass named "&aSelector"
  10. set slot 0 of {_p} to lead named "&aHook"
  11. function dj(p: player):
  12. if {iq.%{_p}%} is true:
  13. remove 1 from {gd}
  14. remove loop player from {gd}
  15. send "&d&lDUELS &8» &7You have &clefted &7the duel queue!" to {-P}
  16. set {iq.%{_p}%} to false
  17. stop
  18. if {ig.%{_p}%} is false:
  19. add 1 to {gd}
  20. set {iq.%{_p}%} to true
  21. set {gd} to 0
  22. add {_p} to {gdl}
  23. send "&d&lDUELS &8» &7You have &ajoined &7the duel queue!" to {_p}
  24. if {gd} is 2:
  25. loop {gdl}:
  26. ds loop-value
  27. function ds(p: player):
Add Comment
Please, Sign In to add comment