while true do
script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(.1,.3,.1)
wait()
end
✓ ANSWER ACCEPTED
how to modify rotation speed of a part?
1 answer
✓ Accepted answer
Hello, using TweenService may help you. :)
local TweenService = game:GetService("TweenService")
local TweenSettings = TweenInfo.new(.2, Enum.EasingStyle.Linear, Enum.EasingDirection.In)
local Part = script.Parent
local Tween = TweenService:Create(Part, TweenSettings, {Orientation = Vector3.new(400, 0, 0)})
while true do
wait()
Tween:Play()
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
