Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if hinge.TargetAngle == 0 then
- if platform.Orientation.Y == 0 then
- hinge.TargetAngle = -90
- script.Enabled = false
- wait(2)
- script.Enabled = true
- end
- else
- if platform.Orientation.Y == - 90 then
- hinge.TargetAngle = 0
- script.Enabled = false
- wait(2)
- script.Enabled = true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment