Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. command /Zeitreise [<text>]:
  2. trigger:
  3. if player is in world "world":
  4. if arg is not set:
  5. send "&c[Zeitreise] &9Gib bitte an wieviele Minuten du pro Reise Ziel haben möchtest:"
  6. send "&6[/Zeitreise Kurz] = 5 Minuten&9"
  7. send "&6[/Zeitreise Lang] = 10 Minuten"
  8. if arg is set:
  9. if arg is "Kurz":
  10. set {reise::%player%} to true
  11. set {zeitA::%player%} to 300
  12. teleport player to location at (-43, 40, 181) in world "world"
  13. if {zeitA::%player%} is 0:
  14. set {reise::%player%} to false
  15. wait 1 second
  16. set {reise::%player%} to true
  17. set {zeitA::%player%} to 300
  18. teleport player to location at (-235, 67, -1107) in world "world"
  19. if {zeitA::%player%} is 0:
  20. set {reise::%player%} to false
  21. wait 1 second
  22. teleport player to location at (-179, 68, -420) in world "world"
  23. send "&c[Zeitreise] &9Vielen Dank das du die Reise gebucht hast! Wir hoffen es hat dir gefallen und du hast ein kleinen Einblick in den Anfang von Aurora bekommen"
  24. if arg is "Lang":
  25. teleport player to location at (-43, 40, 181) in world "world"
  26. set {zeitA::%player%} to 600
  27. if {zeitA::%player%} is 0:
  28. set {reise::%player%} to false
  29. teleport player to location at (-235, 67, -1107) in world "world"
  30. set {zeitA::%player%} to 600
  31. if {zeitA::%player%} is 0:
  32. set {reise::%player%} to false
  33. teleport player to location at (-179, 68, -420) in world "world"
  34. send "&c[Zeitreise] &9Vielen Dank das du die Reise gebucht hast! Wir hoffen es hat dir gefallen und du hast ein kleinen Einblick in den Anfang von Aurora bekommen"
  35. else:
  36. send "&c[Zeitreise] &9Um die Zeitreise zu starten musst du dich in der Spawn Welt befinden"
  37.  
  38. every second:
  39. loop all players:
  40. if {reise::%loop-player%} is true:
  41. show an actionbar from "&cZeit bis zum Nächsten Teleport: &6%{zeitA::%loop-player%}%" to loop-player
  42. remove 1 from {zeitA::%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement