-- made by chatgpt -- fixed by deha dsc.gg/deha-scripts local Players = game:GetService("Players") local RunService = game:GetService("RunService") local localPlayer = Players.LocalPlayer local targetName = "" local spinSpeed = 0.05 local spinRadius = 7 local yOffset = 1.5 local isSpinning = false local angle = 0 local spinConnection = nil local screenGui = Instance.new("ScreenGui") screenGui.Name = "MegaSpinGui" screenGui.ResetOnSpawn = false screenGui.Parent = localPlayer:WaitForChild("PlayerGui") local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 260, 0, 350) mainFrame.Position = UDim2.new(0.5, -130, 0.35, -175) mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = screenGui local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 10) mainCorner.Parent = mainFrame local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 30) title.BackgroundTransparency = 1 title.Text = "SpinBot Ulimate" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.TextSize = 14 title.Font = Enum.Font.SourceSansBold title.Parent = mainFrame local inputBox = Instance.new("TextBox") inputBox.Size = UDim2.new(1, -20, 0, 35) inputBox.Position = UDim2.new(0, 10, 0, 35) inputBox.BackgroundColor3 = Color3.fromRGB(35, 35, 35) inputBox.TextColor3 = Color3.fromRGB(255, 255, 255) inputBox.PlaceholderText = "Enter the name" inputBox.Text = "" inputBox.Font = Enum.Font.SourceSans inputBox.TextSize = 14 inputBox.Parent = mainFrame local inputCorner = Instance.new("UICorner") inputCorner.CornerRadius = UDim.new(0, 6) inputCorner.Parent = inputBox local speedLabel = Instance.new("TextLabel") speedLabel.Size = UDim2.new(1, -20, 0, 20) speedLabel.Position = UDim2.new(0, 10, 0, 75) speedLabel.BackgroundTransparency = 1 speedLabel.Text = "Speed Low (0.05)" speedLabel.TextColor3 = Color3.fromRGB(200, 200, 200) speedLabel.TextSize = 12 speedLabel.TextXAlignment = Enum.TextXAlignment.Left speedLabel.Font = Enum.Font.SourceSans speedLabel.Parent = mainFrame local speedSlow = Instance.new("TextButton") speedSlow.Size = UDim2.new(0, 75, 0, 25) speedSlow.Position = UDim2.new(0, 10, 0, 95) speedSlow.BackgroundColor3 = Color3.fromRGB(45, 45, 45) speedSlow.Text = "Minium" speedSlow.TextColor3 = Color3.fromRGB(255, 255, 255) speedSlow.TextSize = 11 speedSlow.Font = Enum.Font.SourceSansBold speedSlow.Parent = mainFrame local speedNorm = Instance.new("TextButton") speedNorm.Size = UDim2.new(0, 75, 0, 25) speedNorm.Position = UDim2.new(0, 92, 0, 95) speedNorm.BackgroundColor3 = Color3.fromRGB(65, 65, 65) speedNorm.Text = "Mid" speedNorm.TextColor3 = Color3.fromRGB(255, 255, 255) speedNorm.TextSize = 11 speedNorm.Font = Enum.Font.SourceSansBold speedNorm.Parent = mainFrame local speedFast = Instance.new("TextButton") speedFast.Size = UDim2.new(0, 75, 0, 25) speedFast.Position = UDim2.new(0, 175, 0, 95) speedFast.BackgroundColor3 = Color3.fromRGB(45, 45, 45) speedFast.Text = "Faster" speedFast.TextColor3 = Color3.fromRGB(255, 255, 255) speedFast.TextSize = 11 speedFast.Font = Enum.Font.SourceSansBold speedFast.Parent = mainFrame local radiusLabel = Instance.new("TextLabel") radiusLabel.Size = UDim2.new(1, -20, 0, 20) radiusLabel.Position = UDim2.new(0, 10, 0, 125) radiusLabel.BackgroundTransparency = 1 radiusLabel.Text = "Range (7)" radiusLabel.TextColor3 = Color3.fromRGB(200, 200, 200) radiusLabel.TextSize = 12 radiusLabel.TextXAlignment = Enum.TextXAlignment.Left radiusLabel.Font = Enum.Font.SourceSans radiusLabel.Parent = mainFrame local radClose = Instance.new("TextButton") radClose.Size = UDim2.new(0, 55, 0, 25) radClose.Position = UDim2.new(0, 10, 0, 145) radClose.BackgroundColor3 = Color3.fromRGB(45, 45, 45) radClose.Text = "Legs (3)" radClose.TextColor3 = Color3.fromRGB(255, 255, 255) radClose.TextSize = 11 radClose.Font = Enum.Font.SourceSansBold radClose.Parent = mainFrame local radMed = Instance.new("TextButton") radMed.Size = UDim2.new(0, 55, 0, 25) radMed.Position = UDim2.new(0, 70, 0, 145) radMed.BackgroundColor3 = Color3.fromRGB(65, 65, 65) radMed.Text = "Mid (10)" radMed.TextColor3 = Color3.fromRGB(255, 255, 255) radMed.TextSize = 11 radMed.Font = Enum.Font.SourceSansBold radMed.Parent = mainFrame local radFar = Instance.new("TextButton") radFar.Size = UDim2.new(0, 55, 0, 25) radFar.Position = UDim2.new(0, 130, 0, 145) radFar.BackgroundColor3 = Color3.fromRGB(45, 45, 45) radFar.Text = "Far (30)" radFar.TextColor3 = Color3.fromRGB(255, 255, 255) radFar.TextSize = 11 radFar.Font = Enum.Font.SourceSansBold radFar.Parent = mainFrame local radMax = Instance.new("TextButton") radMax.Size = UDim2.new(0, 55, 0, 25) radMax.Position = UDim2.new(0, 190, 0, 145) radMax.BackgroundColor3 = Color3.fromRGB(150, 80, 20) radMax.Text = "Space (80)" radMax.TextColor3 = Color3.fromRGB(255, 255, 255) radMax.TextSize = 10 radMax.Font = Enum.Font.SourceSansBold radMax.Parent = mainFrame local heightLabel = Instance.new("TextLabel") heightLabel.Size = UDim2.new(1, -20, 0, 20) heightLabel.Position = UDim2.new(0, 10, 0, 175) heightLabel.BackgroundTransparency = 1 heightLabel.Text = "Flight altitude: Eye level (1.5)" heightLabel.TextColor3 = Color3.fromRGB(200, 200, 200) heightLabel.TextSize = 12 heightLabel.TextXAlignment = Enum.TextXAlignment.Left heightLabel.Font = Enum.Font.SourceSans heightLabel.Parent = mainFrame local heightLow = Instance.new("TextButton") heightLow.Size = UDim2.new(0, 75, 0, 25) heightLow.Position = UDim2.new(0, 10, 0, 195) heightLow.BackgroundColor3 = Color3.fromRGB(45, 45, 45) heightLow.Text = "On legs (-3)" heightLow.TextColor3 = Color3.fromRGB(255, 255, 255) heightLow.TextSize = 11 heightLow.Font = Enum.Font.SourceSansBold heightLow.Parent = mainFrame local heightEye = Instance.new("TextButton") heightEye.Size = UDim2.new(0, 75, 0, 25) heightEye.Position = UDim2.new(0, 92, 0, 195) heightEye.BackgroundColor3 = Color3.fromRGB(65, 65, 65) heightEye.Text = "Basic (1.5)" heightEye.TextColor3 = Color3.fromRGB(255, 255, 255) heightEye.TextSize = 11 heightEye.Font = Enum.Font.SourceSansBold heightEye.Parent = mainFrame local heightHigh = Instance.new("TextButton") heightHigh.Size = UDim2.new(0, 75, 0, 25) heightHigh.Position = UDim2.new(0, 175, 0, 195) heightHigh.BackgroundColor3 = Color3.fromRGB(45, 45, 45) heightHigh.Text = "In Sky (25)" heightHigh.TextColor3 = Color3.fromRGB(255, 255, 255) heightHigh.TextSize = 11 heightHigh.Font = Enum.Font.SourceSansBold heightHigh.Parent = mainFrame local toggleBtn = Instance.new("TextButton") toggleBtn.Size = UDim2.new(1, -20, 0, 35) toggleBtn.Position = UDim2.new(0, 10, 0, 240) toggleBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) toggleBtn.Text = "Enable Spin" toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) toggleBtn.TextSize = 14 toggleBtn.Font = Enum.Font.SourceSansBold toggleBtn.Parent = mainFrame local toggleCorner = Instance.new("UICorner") toggleCorner.CornerRadius = UDim.new(0, 6) toggleCorner.Parent = toggleBtn local destroyBtn = Instance.new("TextButton") destroyBtn.Size = UDim2.new(1, -20, 0, 30) destroyBtn.Position = UDim2.new(0, 10, 0, 290) destroyBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) destroyBtn.Text = "Delete gui from screen" destroyBtn.TextColor3 = Color3.fromRGB(150, 150, 150) destroyBtn.TextSize = 12 destroyBtn.Font = Enum.Font.SourceSans destroyBtn.Parent = mainFrame local destroyCorner = Instance.new("UICorner") destroyCorner.CornerRadius = UDim.new(0, 6) destroyCorner.Parent = destroyBtn speedSlow.MouseButton1Click:Connect(function() spinSpeed = 0.02 speedLabel.Text = "Speed ultra slo (0.02)" end) speedNorm.MouseButton1Click:Connect(function() spinSpeed = 0.05 speedLabel.Text = "Speed: Moderate (0.05)" end) speedFast.MouseButton1Click:Connect(function() spinSpeed = 0.12 speedLabel.Text = "Speed Faster (0.12)" end) radClose.MouseButton1Click:Connect(function() spinRadius = 3 radiusLabel.Text = "Range: Point blank (3)" end) radMed.MouseButton1Click:Connect(function() spinRadius = 10 radiusLabel.Text = "Range: Normal (10)" end) radFar.MouseButton1Click:Connect(function() spinRadius = 30 radiusLabel.Text = "Range Far (30)" end) radMax.MouseButton1Click:Connect(function() spinRadius = 80 radiusLabel.Text = "Range Space (80)" end) heightLow.MouseButton1Click:Connect(function() yOffset = -3 heightLabel.Text = "Flight altitude: In feet (-3)" end) heightEye.MouseButton1Click:Connect(function() yOffset = 1.5 heightLabel.Text = "Flight altitude: Normal (1.5)" end) heightHigh.MouseButton1Click:Connect(function() yOffset = 25 heightLabel.Text = "Flight atlitude in sky (25)" end) destroyBtn.MouseButton1Click:Connect(function() if spinConnection then spinConnection:Disconnect() end screenGui:Destroy() end) inputBox.FocusLost:Connect(function(enterPressed) if enterPressed then targetName = inputBox.Text inputBox.Text = "Name entered" task.wait(0.6) inputBox.Text = targetName end end) toggleBtn.MouseButton1Click:Connect(function() isSpinning = not isSpinning if isSpinning then if targetName == "" then toggleBtn.Text = "First Enter Name" isSpinning = false task.wait(1) toggleBtn.Text = "Enable Spin" return end local targetPlayer = nil for _, p in ipairs(Players:GetPlayers()) do if p.Name:lower():sub(1, #targetName) == targetName:lower() then targetPlayer = p break end end if not targetPlayer or targetPlayer == localPlayer then toggleBtn.Text = "Player not founded make sure its not display name" isSpinning = false task.wait(1) toggleBtn.Text = "Enable Spin" return end toggleBtn.BackgroundColor3 = Color3.fromRGB(50, 200, 50) toggleBtn.Text = "Enabled idk" angle = 0 if spinConnection then spinConnection:Disconnect() end spinConnection = RunService.RenderStepped:Connect(function() local char = localPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") local tChar = targetPlayer.Character local tHrp = tChar and tChar:FindFirstChild("HumanoidRootPart") if hrp and tHrp then angle = angle + spinSpeed local offset = Vector3.new(math.cos(angle) * spinRadius, yOffset, math.sin(angle) * spinRadius) hrp.CFrame = CFrame.new(tHrp.Position + offset, tHrp.Position) end end) else toggleBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) toggleBtn.Text = "Enable Spin" if spinConnection then spinConnection:Disconnect() spinConnection = nil end end end)