local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") -- Interface local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "AFK_GUI" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = PlayerGui local MainFrame = Instance.new("Frame") MainFrame.Size = UDim2.new(0, 200, 0, 150) MainFrame.Position = UDim2.new(0.5, -100, 0.5, -75) MainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = ScreenGui local TitleBar = Instance.new("Frame") TitleBar.Size = UDim2.new(1, 0, 0, 20) TitleBar.BackgroundColor3 = Color3.fromRGB(30, 30, 30) TitleBar.BorderSizePixel = 0 TitleBar.Parent = MainFrame local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, -60, 1, 0) Title.Position = UDim2.new(0, 5, 0, 0) Title.BackgroundTransparency = 1 Title.Text = "AFK" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextXAlignment = Enum.TextXAlignment.Left Title.Font = Enum.Font.SourceSans Title.TextSize = 14 Title.Parent = TitleBar local CloseButton = Instance.new("TextButton") CloseButton.Size = UDim2.new(0, 20, 1, 0) CloseButton.Position = UDim2.new(1, -20, 0, 0) CloseButton.Text = "X" CloseButton.BackgroundColor3 = Color3.fromRGB(255, 60, 60) CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255) CloseButton.BorderSizePixel = 0 CloseButton.Parent = TitleBar local MinimizeButton = Instance.new("TextButton") MinimizeButton.Size = UDim2.new(0, 20, 1, 0) MinimizeButton.Position = UDim2.new(1, -40, 0, 0) MinimizeButton.Text = "_" MinimizeButton.BackgroundColor3 = Color3.fromRGB(200, 200, 50) MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255) MinimizeButton.BorderSizePixel = 0 MinimizeButton.Parent = TitleBar local ContentFrame = Instance.new("Frame") ContentFrame.Size = UDim2.new(1, 0, 1, -20) ContentFrame.Position = UDim2.new(0, 0, 0, 20) ContentFrame.BackgroundTransparency = 1 ContentFrame.Parent = MainFrame -- Botão Auto Click + Spin local AutoButton = Instance.new("TextButton") AutoButton.Size = UDim2.new(0.8, 0, 0, 30) AutoButton.Position = UDim2.new(0.1, 0, 0.25, 0) AutoButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) AutoButton.Text = "Auto Click + Spin" AutoButton.TextColor3 = Color3.fromRGB(255, 255, 255) AutoButton.BorderSizePixel = 0 AutoButton.Font = Enum.Font.SourceSans AutoButton.TextSize = 14 AutoButton.Parent = ContentFrame -- Botão Auto Jump local AutoJumpButton = Instance.new("TextButton") AutoJumpButton.Size = UDim2.new(0.8, 0, 0, 30) AutoJumpButton.Position = UDim2.new(0.1, 0, 0.55, 0) AutoJumpButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) AutoJumpButton.BorderSizePixel = 0 AutoJumpButton.Text = "Auto Jump" AutoJumpButton.TextColor3 = Color3.fromRGB(255, 255, 255) AutoJumpButton.Font = Enum.Font.SourceSans AutoJumpButton.TextSize = 14 AutoJumpButton.Parent = ContentFrame -- Variáveis de controle local Enabled = false local AutoJumpEnabled = false local ClickDelay = 0.03 local SpinSpeed = 1000 local JumpDelay = 0.4 -- Funções de spin local function ApplySpin(character) local hrp = character:WaitForChild("HumanoidRootPart", 5) if not hrp then return end if hrp:FindFirstChild("SpinVelocity") then hrp.SpinVelocity:Destroy() end local bav = Instance.new("BodyAngularVelocity") bav.Name = "SpinVelocity" bav.MaxTorque = Vector3.new(0, math.huge, 0) bav.AngularVelocity = Vector3.new(0, SpinSpeed, 0) bav.Parent = hrp end local function RemoveSpin(character) local hrp = character:FindFirstChild("HumanoidRootPart") if hrp then local bav = hrp:FindFirstChild("SpinVelocity") if bav then bav:Destroy() end end end -- Reaplicar spin ao respawn LocalPlayer.CharacterAdded:Connect(function(character) if Enabled then ApplySpin(character) end end) -- Loop Auto Click + Spin task.spawn(function() while true do if Enabled then local character = LocalPlayer.Character if character then -- Spin ApplySpin(character) -- Auto Click local tool = character:FindFirstChildOfClass("Tool") if tool then pcall(function() tool:Activate() end) end end end task.wait(ClickDelay) end end) -- Loop Auto Jump task.spawn(function() while true do if AutoJumpEnabled then local character = LocalPlayer.Character if character then local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid and humanoid.FloorMaterial ~= Enum.Material.Air then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end end task.wait(JumpDelay) end end) -- Eventos dos botões AutoButton.MouseButton1Click:Connect(function() Enabled = not Enabled local character = LocalPlayer.Character if Enabled then AutoButton.Text = "Auto Click + Spin (ON)" AutoButton.BackgroundColor3 = Color3.fromRGB(0, 150, 0) if character then ApplySpin(character) end else AutoButton.Text = "Auto Click + Spin" AutoButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) if character then RemoveSpin(character) end end end) AutoJumpButton.MouseButton1Click:Connect(function() AutoJumpEnabled = not AutoJumpEnabled if AutoJumpEnabled then AutoJumpButton.Text = "Auto Jump (ON)" AutoJumpButton.BackgroundColor3 = Color3.fromRGB(0, 150, 0) else AutoJumpButton.Text = "Auto Jump" AutoJumpButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) end end) CloseButton.MouseButton1Click:Connect(function() ScreenGui:Destroy() end) local Minimized = false local OriginalSize = MainFrame.Size MinimizeButton.MouseButton1Click:Connect(function() Minimized = not Minimized if Minimized then MainFrame.Size = UDim2.new(OriginalSize.X.Scale, OriginalSize.X.Offset, 0, 20) ContentFrame.Visible = false else MainFrame.Size = OriginalSize ContentFrame.Visible = true end end)