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

Is it possible to somehow make the script see changes in number value?

Note: I don't know much English, so I used a translator. I apologize for possible errors.

Hard to say what I was trying to do, I tried to do something like store with the camera and used a remote event and have done so when you click "Next" to number value 1 is added and the camera varies depending on the number, but it turned out that the script does not see changes in number value. Is there any way for the script to see the changes?

1 answer

✓ Accepted answer

Yes Simple! Use :GetPropertyChangedSignal() Here is a example on how to do it.

MyNumberValue:GetPropertyChangedSignal("Value"):Connect(function()
	EpicCodeHere
end)

1 comment

0

Sorry, for taking so long, thank you. I will try.

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