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

Why is my .Changed event not detecting anything?

Asked by 3 years ago
TimerValue:GetPropertyChangedSignal("Value"):Connect(function()
    print("Changed")
    TextLabel.Text = TimerValue.Value
end)

My script doesn't seem to detect TimerValue's value changing, it doesn't print anything and the text label does not change. Is it supposed to be ran in a server script or something?

0
Yeah it has to be on the Server. It can be exploited if done MarkedTomato 810 — 3y
0
I changed it to a server script, still nothing. CoopGaming7 20 — 3y
0
^ lol what? that's entirely wrong. The solution: Make sure this is a localscript in startergui or other places for localscripts... make sure that you are using the playergui. greatneil80 2647 — 3y
0
^^^* greatneil80 2647 — 3y
0
I already had the local script in startergui. CoopGaming7 20 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

Got it! Turned out I had to use a InitValue, not a NumberValue I think.

Ad

Answer this question