of     1   

ShootzoneFPS
#184548997Monday, February 29, 2016 9:20 PM GMT

So i have a localscript in charge of managing health and displaying it as a number. This localscript is not in the same frame as the health text and filtering is enabled so it cant change the number value of health it can only change the text box. While I could move the localscript to that frame it'd cause a TON of problems. However I can write a localscript in the GUI so that when the health text is changed it updates the value. Problem is a textlabels text is not able to be calculated like a number even if the text itself is only a number between 1 and 100. Can anybody tell me a way to get a script to treat a text like a value?
TimeTicks
#184549022Monday, February 29, 2016 9:21 PM GMT

tonumber(TextBox.Text)
ShootzoneFPS
#184549107Monday, February 29, 2016 9:22 PM GMT

How would I fit that^ into: script.Parent.Health.Value = script.Parent.Parent.Health.Text
TimeTicks
#184549457Monday, February 29, 2016 9:30 PM GMT

script.Parent.Health.Value = tonumber(script.Parent.Parent.Health.Text)
ShootzoneFPS
#184550592Monday, February 29, 2016 9:51 PM GMT

thanks you helped a ton

    of     1