DEPSTRCZ

Untitled

Nov 16th, 2022
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. function bar(p: player,m: text,t: integer):
  2. set {_waittime} to "%{_t}% ticks" parsed as timespan
  3. delete bossbar named "test"
  4. wait 1 ticks
  5. set {_testbar} to bossbar named "test" with title "%{_m}%" with color bar red with style solid
  6. wait 1 ticks
  7. set bossbar players of {_testbar} to {_p}
  8. wait {_waittime}
  9. delete bossbar named "test"
  10. on rightclick:
  11. bar(player,"test",20)
  12. wait 21 ticks
Advertisement
Add Comment
Please, Sign In to add comment