Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why doesn't this servo constraint work with the script I made?

I have two servo hinge constraints to act like a drawbridge is going down. The constraints are facing the same way and the AngularSpeed = 0.3 and ServoMaxTorque = 10,000,000 because the model that is moving has a lot of parts. I have tried a lot of different values and it still hasn't worked. I've set the max torque to the highest and it still hasn't worked. Here is the script that makes it move:

local hinge = script.Parent

while true do
	hinge.TargetAngle = -90
	wait(2)
	hinge.TargetAngle = 180
	wait(2)
end

This isn't making the bridge move and I don't know why. Please help me if you can and thanks in advance:).

~rilgundam

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.