I fixed the problem, it was a stupid error What I screwed up: I had
h = script.Parent.Value script.Parent.IValue.Value=h
in the same script, so everytime I re-ran it, it would screw up my while true do. and always come out as 'not false' for the
script.Parent.IValue.Value~=script.Parent.Value then
part. Basically, I removed the
h = script.Parent.Value script.Parent.IValue.Value=h
and my problem was fixed. AND I feel like an idiot now
h = script.Parent.Value script.Parent.IValue.Value=h while true do wait(.01) if script.Parent.IValue.Value~=script.Parent.Value then script.Parent.IValue.Value=script.Parent.Value script.Parent.Parent.BillboardGui.TextButton.Text = ""..script.Parent.Value.."" wait(.01) else wait(.01) end end
Fixed IValue works, however, the TextButton.Text doesn't change. the Parent was originally 4, then it changed to 8, however, when it changed to 8 this script here didn't change the TextButton.Text to 8. It did change IValue to 8 though. What did I do wrong? The script doesn't find any errors, so, what did I mess up on ? Fixed