Advertisement
Mirage-Skripter

ChatHolographic

Mar 20th, 2019
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.69 KB | None | 0 0
  1. on chat:
  2.     if {holof.%player%} is not set:
  3.         add text "&a&l%player%" to hologram {holo.%player%}
  4.         set {holof.%player%} to true
  5.     add text "%message%" to hologram {holo.%player%}
  6.     add 1 to {holos::%player%}
  7.     wait 5 seconds
  8.     remove lines 1 from hologram {holo.%player%}
  9.     remove 1 from {holos::%player%}
  10.    
  11. on quit:
  12.     unregister hologram {holo.%player%}
  13.     delete {holof.%player%}
  14.     delete {holos::%player%}
  15.    
  16. on join:
  17.     set {holo.%player%} to new hologram at player
  18.    
  19. every 1 tick in "world":
  20.     loop all players:
  21.         loop {holos::*}:
  22.             set {_size.%loop-index%} to loop-value-2 + 3
  23.         set location of hologram {holo.%loop-player%} to location {_size.%loop-player%} meters up location of loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement