I have a aircraft carrier that has elevators on it to pick the planes up and down. The problem is, in game it twists the elevator to it cannot go down. See below.
Click here for pictures <--contains everything picture wise
The buttons work, just the part isn't lined up correctly.
Here are the two scripts:
s = script
g = game.Workspace
Car = s.Parent.Parent.Car1
-------------------------
function onClicked()
Car.BodyVelocity.velocity = Vector3.new(0, -5, 0)
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
s = script
g = game.Workspace
Car = s.Parent.Parent.Car1
-------------------------
function onClicked()
Car.BodyVelocity.velocity = Vector3.new(0, 5, 0)
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)

5 comments
It twists them? As in rotates? You don't have a BodyGyro in them, do you?
@MrNicNac I do indeed. At the top, it should say click here for pictures, scroll through them at the top.
Update: When I remove the BodyGryo, it stays in place, but it's like the front end is heavy so the front end falls and leaves the back end high in the air.
Well, I currently can't view the picture, so I asked. In that case, it's the BodyGyro rotating the elevator. BodyGyro handles the tweening of rotation. If you don't change its hidden CFrame property, then it will try to rotate it to angles 0,0,0.
Where is it's hidden CFrame property and what do I change it to?