The part I put this in, goes up when I touch it. It's supposed to rotate the part, and it does that fine, but for some reason when ever I touch it the part moves upwards. I want it to stay in place and rotate. Here's my code:
part = script.Parent
repeat
part.Rotation = Vector3.new( 0, a, 0)
wait(.03)
a = a+3
until pigsfly == 1
Thanks!

3 comments
Keep in mind I'm a new scripter so it may be blatantly obvious.
you should you CFrame.Angles http://wiki.roblox.com/index.php?title=CFrame#Constructors
"use"