#Action bar not working

1 messages · Page 1 of 1 (latest)

strong ridge
#

why loop 20 times and why the wait

gaunt carbon
#

Cus like

#

idk

#

but still doesn't work if i remove that

strong ridge
#

if you remove both it doesnt work?

gaunt carbon
#

Yep

strong ridge
#

did you check the console for errors and did you debug the code

gaunt carbon
#

every 0.5 seconds:
loop all players:
send action bar "&4Health: &c%loop-player's health%/%loop-player's max health% ♥ &2Defence: &a%{Defence.%loop-player%}% 🛡 &6Bounty: &e%{Bounty.%loop-player%}% ⛁" to loop-player
set scaled health of loop-player to 20

gaunt carbon
#

it didn't work at all

strong ridge
#

so you put a broadcast before the send action bar and after it

gaunt carbon
#

yep

strong ridge
#

and what was the result

gaunt carbon
#

nothing

#

at all

#

every 0.5 seconds:
broadcast "t"
loop all players:
broadcast "t2"
send action bar "&4Health: &c%loop-player's health%/%loop-player's max health% ♥ &2Defence: &a%{Defence.%loop-player%}% 🛡 &6Bounty: &e%{Bounty.%loop-player%}% ⛁" to loop-player
set scaled health of loop-player to 20
broadcast "t3"

#

not a single broadcast

strong ridge
#

did you make sure you are saving and reloading the right file

#

did you try deleting the file and remaking it

#

did you try restarting the server etc etc

#

lots of stuff to try

gaunt carbon
#

i tried everythiing