|
| 01 Aug 2015 01:07 AM |
What's wrong with 'script.Parent.Rotation = Vector3.new(-45,0,0)'?
while wait() do script.Parent.Rotation = Vector3.new(-45,0,0) script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0.0075,0.0075) end |
|
|
| Report Abuse |
|
|
| 01 Aug 2015 01:39 AM |
What do you mean what's wrong with it?
while wait() do script.Parent.Rotation = Vector3.new(-45,0,0) --Changes the rotation angle to 45 degrees on x axis script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0.0075,0.0075) --Changes cframe of part, causing rotation to take place due to loop end |
|
|
| Report Abuse |
|