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

Surface Gui's and Humanoid Health?

1 answer

Since, more than likely, the surface GUI is going to be a read-only display of the humanoid's health, you don't really need to convert a string to an integer or vice-versa, unless if you're using the Text property of a TextLabel (though, I personally recommend to use the Health value directly from the Humanoid).

Nonetheless...

tostring(arg) converts the given argument into a string.

tonumber(arg) converts the given argument into a number.

1 comment

0

Thanks! Would vote up but people and admins hate me and i have -11 rep

This discussion is preserved as it was. New answers, comments, and votes are closed.