I'm trying to make a ferris wheel that can stop and go by a button but it said that "attempt to call a number value", did I type something wrong, please help me. thank you
local stop = script.Parent
local change = script.Parent.Parent.Model.Part.HingeConstraint
local click = script.Parent.ClickDetector
function onMouseClick()
change.AngularVelocity = change.AngularVelocity(0) --change the value of angular velocity to 0 but it won't work
end
click.MouseClick:connect(onMouseClick)

2 comments
i don't know. figure it out yourself
@csafdwR33r33 knows what he's talking about br0