local TweenService = game:GetService('TweenService')
local part = workspace.Part
local tweeninfo = TweenInfo.new(2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In)
while true do
TweenService:Create(part, tweeninfo, {CFrame = part.CFrame * CFrame.Angles(0, math.rad(180), 0)}):Play()
wait(2.5)
end
local tweeningInfo = TweenInfo.new(5,Enum.EasingStyle.Linear,Enum.EasingDirection.In)
function TweenCreate()
local Props = {Orientation = Vector3.new(0, part.Orientation.Y + 360,0)}
local tweenRotate = tweenService:Create(part,tweeningInfo, Props)
tweenRotate:Play()
return tweenRotate
end
while wait() do TweenCreate().Completed:Wait() end