Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /Zeitreise [<text>]:
- trigger:
- if player is in world "world":
- if arg is not set:
- send "&c[Zeitreise] &9Gib bitte an wieviele Minuten du pro Reise Ziel haben möchtest:"
- send "&6[/Zeitreise Kurz] = 5 Minuten&9"
- send "&6[/Zeitreise Lang] = 10 Minuten"
- if arg is set:
- if arg is "Kurz":
- set {reise::%player%} to true
- set {zeitA::%player%} to 300
- teleport player to location at (-43, 40, 181) in world "world"
- if {zeitA::%player%} is 0:
- set {reise::%player%} to false
- wait 1 second
- set {reise::%player%} to true
- set {zeitA::%player%} to 300
- teleport player to location at (-235, 67, -1107) in world "world"
- if {zeitA::%player%} is 0:
- set {reise::%player%} to false
- wait 1 second
- teleport player to location at (-179, 68, -420) in world "world"
- 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"
- if arg is "Lang":
- teleport player to location at (-43, 40, 181) in world "world"
- set {zeitA::%player%} to 600
- if {zeitA::%player%} is 0:
- set {reise::%player%} to false
- teleport player to location at (-235, 67, -1107) in world "world"
- set {zeitA::%player%} to 600
- if {zeitA::%player%} is 0:
- set {reise::%player%} to false
- teleport player to location at (-179, 68, -420) in world "world"
- 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"
- else:
- send "&c[Zeitreise] &9Um die Zeitreise zu starten musst du dich in der Spawn Welt befinden"
- every second:
- loop all players:
- if {reise::%loop-player%} is true:
- show an actionbar from "&cZeit bis zum Nächsten Teleport: &6%{zeitA::%loop-player%}%" to loop-player
- remove 1 from {zeitA::%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement