Fix Health Bar Problem On Npc

I need Help fixing the red square that appears after killing NPC

![999Capture|690x142]
code:

You need to check if the health is lower than 0, and if it is to just set the size to (0, 0, 1, 0)


I added a if ststement and Theirs an eror saying TweenSize is not a valid member of Model “Workspace.NPC”.Not sure if i am doing this right

You need to do healthGui.Health.Meter instead of script.Parent:Tween(...), your referencing the Parent, which happens to be the NPC.

1 Like