I am trying to make a bossbar that matches the value of the enemies health. I have tried for hours and tried examples from previous people with no luck.
I have been trying stuff like this:
Was hoping someone would know how to solve this.
Server Version: 1.14
Skript Version: Latest
SkQuery 4.1.4
skRayFall+v1.9.18.jar
Skellet
SharpSK
I have been trying stuff like this:
Code:
on damage:
victim is chicken
set {_health} to victim's health*100/damage*100
create bossbar titled "&fChicken &8(&aLevel 1&8)" and id "chick1" for attacker with progress {_health} with colors red
wait 5 seconds
hide bossbar "chick1"
Was hoping someone would know how to solve this.
Server Version: 1.14
Skript Version: Latest
SkQuery 4.1.4
skRayFall+v1.9.18.jar
Skellet
SharpSK