I have a model: Workspace > Folder > Model which has an IntValue called HP.
How would I display a number above the model (billboard GUI?) which is the health of the object that updates automatically?
✓ ANSWER ACCEPTED
How to give model objects health?
2 answers
✓ Accepted answer
http://wiki.roblox.com/index.php?title=API:Class/BillboardGui
Make a BillboardGui with a TextLabel. Make a script that sets the TextLabel's text to the IntValue's value
http://wiki.roblox.com/index.php?title=API:Class/TextLabel
If it does not work because it is trying to put a integer as a string for some reason, use tostring()
http://wiki.roblox.com/index.php?title=Global_namespace/Basic_functions&redirect=no#tostring
You must write an attempt, elseway you're not allowed to post that question. By the rules,no requests allowed
This discussion is preserved as it was. New answers, comments, and votes are closed.
