szumielxd

Holo Chat

Oct 15th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. options:
  2. message-color: &6
  3. perm: &cYou don't have permission for this
  4.  
  5. #DON'T TOUCH AFTER THIS PART
  6.  
  7. variables:
  8. {hdchat.%player%.toggle} = true
  9. {altura1.%player%} = 3.5
  10.  
  11. command /hdchat:
  12. trigger:
  13. if sender has permission "hdchat.toggle":
  14. if {hdchat.%player%.toggle} is true:
  15. set {hdchat.%player%.toggle} to false
  16. message "&7Holgram chat &4off&c!"
  17. stop trigger
  18. else:
  19. set {hdchat.%player%.toggle} to true
  20. message "&7Hologram chat &aon&c!"
  21. stop trigger
  22. else:
  23. send "{@perm}"
  24.  
  25. on chat:
  26. if {hdchat.%player%.toggle} is true:
  27. "%message%" is not "legendchat"
  28. bind hologram "&b%player%&e said:;{@message-color}%message%" to player for 5 seconds offset by 0.0, {altura1.%player%}, 0.0
  29. if {altura1.%player%} is 3.5:
  30. set {altura1.%player%} to 3.0
  31. stop
  32. if {altura1.%player%} is 3.0:
  33. set {altura1.%player%} to 2.5
  34. stop
  35. if {altura1.%player%} is 2.5:
  36. set {altura1.%player%} to 3.5
  37. stop
  38. wait 5 seconds
  39. set {altura1.%player%} to 3.5
Advertisement
Add Comment
Please, Sign In to add comment