local conn; local hrp = game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart"); local cd = 0 conn = game:GetService("RunService").RenderStepped:Connect(function(dt) game:GetService("ReplicatedStorage").Remotes.AddSteps:FireServer() cd += dt if cd >= 2.5 then cd = 0 task.spawn(function() hrp:PivotTo(CFrame.new(-115.409325, 90.7936554, -1331.14722, 1, 0, 0, 0, 1, 0, 0, 0, 1)) task.wait(0.2) hrp:PivotTo(CFrame.new(-230.101059, 1016.67267, -33124.582, 0.999997079, -0, -0.00241701491, 0, 1, -0, 0.00241701491, 0, 0.999997079)) end) end end) --conn:Disconnect()