How do i fix this gich

i have a issu with my code when i put this line in sic my health is in a difrent layer it disaphears pleas help this is my code:

I suspect the NewObejct2 width calculation incorrect 100 divided by a large number results in a very small number (especially if MaxHealth & Health start off at 100).

If you want it as a proportion of 100, then the formula is (NewObject.Variable(Health) / NewObject.Variable(MaxHealth)) * 100.

thenks MrMen! but i will chang the code :grin: