local Players = game:GetService("Players") local RunService = game:GetService("RunService") local LocalPlayer = Players.LocalPlayer local angle = 0 local speed = 30 RunService.RenderStepped:Connect(function() local char = LocalPlayer.Character local humanoid = char and char:FindFirstChildOfClass("Humanoid") local rootPart = char and char:FindFirstChild("HumanoidRootPart") if rootPart then angle = (angle + speed) % 360 local rad = math.rad(angle) if humanoid and humanoid.RigType == Enum.HumanoidRigType.R15 then local lowerTorso = char:FindFirstChild("LowerTorso") local rootJoint = lowerTorso and lowerTorso:FindFirstChild("Root") if rootJoint then rootJoint.C0 = CFrame.new(rootJoint.C0.Position) * CFrame.Angles(0, rad, 0) end else local torso = char:FindFirstChild("Torso") local rootJoint = rootPart:FindFirstChild("RootJoint") if rootJoint then rootJoint.C0 = CFrame.new(rootJoint.C0.Position) * CFrame.Angles(-math.pi/2, 0, math.pi) * CFrame.Angles(0, 0, rad) end end end end)