Alright so all I would need help with is to get my script working. I already got the motor part working, but all I would need is a script to make it stop spinning after a certain amount of time. The script that I have so far is this:
wait (2) Script.Parent.HingeConstraint.AngularVelocity = 0
But it's not working for some reason. Any help would be appreciated. Thanks

3 comments
Any errors in the output? Did you hit enter correctly to make a new code line?
Sorry, I'm not sure what you mean when you ask if there's any errors in the output. And yes, I knew that I had to hit enter and make a new code line for the rest of the script after I had typed "wait (2)". The problem is that when I go into playing mode to test my game, no matter how long I wait, the script still doesn't seem to affect the AngularVelocity of the motor
Sorry about the confusion, but I figured it out just now. All it was was a capitalization error in the word "script". Thanks for your help.