local Event = game.ReplicatedStorage.Events:WaitForChild("AptSettingsUpdate") -- Not important
local Update = script.Parent.Update
Update.Changed:connect(function(newVal)
if newVal == true then
Event:FireServer()
end
end)
Update is a boolvalue that changes it's value once I click on a button. Any Idea of why this is happening?

6 comments
I don't think 'newval' is the way you should use it, newval would be the propertie, not the 'new value', change 'newval' on line 5 to Update.Value
No. newVal will be the value for Value instances such as BoolValue
Tried that too, didn't help. I also tried to print the value as well, but the output window is blank
I also tried putting "script.Parent:WaitForChild("Update")" to replace the 2nd line but that didn't help either
try printing Update.Value.
Tried doing that, but it doesn't print out anything