I really need help with this. I tried this:
v = script.Parent.Parent.Amount while wait(0.1) do script.Parent.Text = (v.Value) end
It's supposed to check a numberValue ("Amount") every 0.1 second, but it doesn't refresh to check. Can somebody please help me?
You can use the .Changed
event instead, it would work much more efficiently.
v = script.Parent.Parent.Amount v.Changed:connect(function() script.Parent.Text = v.Value end)
v = script.Parent.Parent.Amount while wait(0.1) do script.Parent.Text = ""..v.Value.."" end
This needs to be in a string, so just do it this way and it should work. You just had a slight mistake.