RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"The hinge needs to be in it. Is there another way to set the script to open at 90, and close at 0."
-- server script local hingeConstraint = game.Workspace.Hinge.HingeConstraint -- replace with your hinge path local function openHinge() hingeConstraint.TargetAngle = 90 end local function closeHinge() hingeConstraint.TargetAngle = 0 end openHinge() wait(5) -- wait for 5 seconds closeHinge()