Ok so I have a problem at the minute where I am trying to make a police lightbar with rotating lights. The car has to be unanchored to move about however the lightbar can't function unanchored.
Is there anyway of allowing the part to rotate while being unanchored? I have the script here.
sphere = script.Parent --This means that you have to have the script in the sphere part
a = 0
off = 0
repeat
sphere.Rotation = Vector3.new( 0, a, 0) --The second value of vector3 is a,
wait(.01) -- we wait .01 seconds,
a = a+13 --a's value increases
until off == 1

3 comments
You would have to create a weld betwen the rotating lights and the car
I believe that if you add a BodyAngularXYZ Object it will rotate the part. It might be called different but Instance.new the object and parent it to the part.
You're not supposed to use "Rotation", use CFrame instead.