I'm trying to make a theme park ride with a motor for the thing that holds you in the ride. So I added weldconstraints, the script enables the weldconstraints so that it holds the motor because it would glitch out when the ride is in motion. I have tested this without the script works perfect. But for some reason the script wont detect the boolvalue when it is changed.
Btw the scripts inside a model
Here's the script:
Hold = script.Parent.Parent.Parent.Parent.Hold
Hold.Changed:Connect(function()
print("ugh") --This word wont print
if Hold.Value == true then
script.Parent.Enabled = true
end
if Hold.Value == false then
script.Parent.Enabled = false
end
end)

4 comments
do you get any error?
Are you changing the bool value in a Server Script or a Local Script ?
Its a script inside a model in workspace, no errors
I'm having the same thing, I was making a remote event test game before and I made a TextLabel that would say true when the BoolValue is true, and would say false when the BoolValue is false. I was trying to get a Touched and TouchEnded thingy, you know.