repeat wait() until script.Parent.PlayerVal.Value ~= nil
script.Parent.PlayerVal.Value.RemoteEvent.OnServerEvent:Connect(function()
script.Parent.CFrame = script.Parent.CFrame * CFrame.Angles(0, script.Parent.Orientation.Y + math.rad(5),0)
wait(0.1)
end)
When I try this it does not turn the right amount, maybe i am using radians wrong? I want script.parent to rotate 5 degrees every time the event triggers
