Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Something isn't right... What did I do wrong?? ((Found and fixed problem))

Asked by 9 years ago

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

StupidProblems4TheWin

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

0
I feel like a retard. I found my problem -.- Jabbypappy 0 — 9y
0
If you fixed the problem, remove this question please. Goulstem 8144 — 9y

Answer this question