local function r(r)local m=math.cos(math.rad(r))return m*multiplier+min end while true do for m=0,90,1 do script.Parent.Rotation=script.Parent.Rotation+r(m);(game:GetService("\082\117\110\083\101\114\118\105\099\101")).RenderStepped:Wait()end for m=90,0,-1 do script.Parent.Rotation=script.Parent.Rotation+r(m);(game:GetService("\082\117\110\083\101\114\118\105\099\101")).RenderStepped:Wait()end wait()end


local function GetRotation(alpha)
    local cos = math.cos(math.rad(alpha))
    --warn(cos)
    --warn('Deg'..cos * 57.2958)
    return cos*multiplier + min
end

while true do

for a = 0,90,1 do
    script.Parent.Rotation = script.Parent.Rotation + GetRotation(a)
    game:GetService('RunService').RenderStepped:Wait()
end

for a = 90,0,-1 do
    script.Parent.Rotation = script.Parent.Rotation + GetRotation(a)
    --wait()
    game:GetService('RunService').RenderStepped:Wait()
end

wait()

end
