Chce zeby ktos mi dodal, zeby dzialalo najlepiej podeslal caly kod, z gory dzieki
set 1:
display "&5cos on" on bossbar with 100 percent by %arg% seconds for loop-player
set 0:
display "&5cos off" on bossbar with 100 percent by 10 seconds for loop-playe
command /cos [<text>]:
permission: cos
permission message: &czle komenda
trigger:
set {cos} to 1
send "&5cos" to all players
set {czas.cos} to "%arg-1% seconds" parsed as timespan
wait {czas.cos}
set {cos} to 0
send "&5cos" to all players