SpringConstraint does not allow .Changed to fire

hi. I am having this terrible problem.

I want to detect when a SpringConstraint’s CurrentLength changes, but this function is not working.

local sc = script.Parent:WaitForChild("SpringConstraint")

sc.Changed:Connect(function()
    print(sc.CurrentLength)
    --my code here
end)

Anyone know why this is not working? (nothing is being printed.)

1 Like

Any errors in the output? Infinite yield? Attempt to index nil? If not, try using :GetPropertyChangedSignal(‘CurrentLength’):Connect() and see if that works.

1 Like