Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to give model objects health?

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?

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.