Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. On Region enter:
  2. if "player's %region%" is "hotfloor1":
  3. if size of {inQueue::*} > 1:
  4. send "Gleich gehts los"
  5. loop all players:
  6. if loop-player is in world "hotfloor":
  7. Teleport loop-player to block below {Lounge: 1.loungelocation}
  8. send "&7[&9&lHotfloor&7] » &aStart in 3 Sekunden"
  9. wait 1 second
  10. send "&7[&9&lHotfloor&7] » &aStart in 2 Sekunden"
  11. wait 1 second
  12. send "&7[&9&lHotfloor&7] » &aStart in 1 Sekunden"
  13. wait 1 second
  14. send "&7[&9&lHotfloor&7] » &a&lStart, viel Glück."
  15. while size of {inQueue::*} > 0:
  16. if loop-player is in world "hotfloor":
  17. if loop-player's gamemode is creative:
  18. set {loc} to location at player
  19. wait 0.2 second
  20. set block below player to air
  21. send "&7[&9&lHotfloor&7] » Blöcke werden nun entfernt!!"
  22. send "&aLocation wurd gespeichert"
  23. if distance between player's location and {loc} is smaller than 0.5:
  24. send "&7[&9&lHotfloor&7] » &cIch würde nicht schummeln!!"
  25. if size of {%player%.warnung::*} < 6:
  26. send "&7[&9&lHotfloor&7] » &cWenn wir dich noch einmal &cerwischen wirst du gekickt!!"
  27. add 1 to {%player%.warnung::*}
  28. else:
  29. kick the player due to " &7[&9&lHotfloor&7] » &c&lDu hast dich nicht an die Regeln gehalten!! &6&lDiscord: &a/discord"
  30. remove player from {inQueue::*}
  31. delete {%player%.warnung::*}
  32. else:
  33. send "Danke das du nicht schummelst."
  34. wait 0.2 second
  35. #
  36. every 20 second:
  37. if size of {inQueue::*} < 2:
  38. loop all players:
  39. if {inQueue::*} contains loop-player:
  40. send "&7[&9&lHotfloor&7] » &cEs fehlt noch &31 &cSpieler" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement