local TargetName = "name" local Radius = 2 local Height = 0 local Speed = 5 local Smoothness = 1 local RunService = game:GetService("RunService") local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local function orbit() local targetPlayer = Players:FindFirstChild(TargetName) if targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild("HumanoidRootPart") then local targetPart = targetPlayer.Character.HumanoidRootPart local angle = tick() * Speed local x = math.cos(angle) * Radius local z = math.sin(angle) * Radius local targetPos = targetPart.Position + Vector3.new(x, Height, z) if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(targetPos, targetPart.Position) end end end local connection connection = RunService.Heartbeat:Connect(function() if not TargetName or TargetName == "" then connection:Disconnect() return end orbit() end)