Help updating text

My problem is:
i have a BillboardGui with a textlabel in it and the script
the textlabel needs to show the amount of health the car has

some screenshots:

Screenshot_3
Screenshot_4

pls help me update the text when the health is changed
(health value is a numberValue btw)

Current script

oh thank you very much
i already got flagged once i did not know why tho

This should go in Scripting Support.

To solve your problem, use :GetPropertyChangedSignal

Health:GetPropertyChangedSignal("Value"):Connect(function() 
-- the above will make it so every time the health changes the code under this comment runs
-- here you can update text
end)
1 Like

omg you are a life saver thank you soo much it worked