is there any other way to check if a boolean value has been changed?
i am getting the error PlayerGui.PlayerScripts.beam:51: attempt to index boolean with'Changed'
Doorr.Value.Changed:connect(function() print("changed") end)
You're not supposed to put the Value there.
Doorr.Changed:connect(function() print("changed") end)
Hope this helps!
Hey, though the answer above is correct, I strongly emphasize on using ':GetPropertyChangedSignal()'
I'll demonstrate how to use that event.
Doorr:GetPropertyChangedSignal("Value"):Connect(function() print("changed") end)