Advertisement
Guest User

Untitled

a guest
Apr 26th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. command /navi [<text>]:
  2. trigger:
  3. {navigation.%player's uuid%} is true
  4. stopEffect "nav-%player%"
  5. {navigation.%player's uuid%} is false
  6. open chest with 2 rows named "&8Navigation" to player
  7. format slot 0 of player with emerald named "&7Hotel" to close then run [execute player command "/navi Hotel"]
  8. if arg-1 is "Hotel":
  9. wait 5 ticks
  10. send "&a[Navi]&7 Der Weg zu &l%arg-1%&7 wird dir nun angezeigt."
  11. set {_targetLocation} to location at -1689, 4, 552
  12. drawLine particle redstone, RGB 255, 0, 0, center player, target {_targetLocation}, id "nav-%player%", onlyFor player, density 20, length 4, zigZag count 0, height 0, visibleRange 45, displacementXYZ 0, 1, 0, pulseDelay 15
  13. while distance between {_targetLocation} and player is not smaller than or equal to 1:
  14. wait 5 ticks
  15. stopEffect "nav-%player%"
  16. send "&a[Navi] &7Du hast dein Ziel erreicht"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement