Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

"Attempt to to index number with GetPropertyChangedSignal"?

Everytime I run the game I just get the same error message: "Attempt to to index number with GetPropertyChangedSignal". I'm pretty new to working with values, so if anyone could help me out here it'd be appreciated.

Code:

local Logs = game.Workspace.HelloThere.Logs.Value

Logs:GetPropertyChangedSignal("Value"):Connect(function() >print("New Value: " .. Logs.Value) end)

1 answer

✓ Accepted answer

GetPropertyChangedSignal is function of Instance while Logs.Value is a number, all you have to do is change Logs.Value to Logs.

local Logs = game.Workspace.HelloThere.Logs -- here no .Value

Logs:GetPropertyChangedSignal("Value"):Connect(function()

1 comment

0

Thank you!

This discussion is preserved as it was. New answers, comments, and votes are closed.