local Players = game:GetService("Players") local Workspace = game:GetService("Workspace") local Debris = game:GetService("Debris") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local radius = 5 local radiusPart local isEnabled = false local kickHeight = 3.3 -- ============================================= -- Botão (Sempre Visível) -- ============================================= local function createToggleButton() local sg = Instance.new("ScreenGui") sg.Name = "SneakyAltoToggle" sg.ResetOnSpawn = false sg.Parent = player:WaitForChild("PlayerGui") local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 60, 0, 60) btn.Position = UDim2.new(1, -80, 0, 70) btn.AnchorPoint = Vector2.new(1, 0) btn.BackgroundColor3 = Color3.fromRGB(35, 35, 40) btn.TextColor3 = Color3.fromRGB(220, 220, 230) btn.Font = Enum.Font.GothamSemibold btn.TextSize = 14 btn.Text = "OFF 2" btn.AutoButtonColor = false btn.BorderSizePixel = 0 btn.Visible = true btn.Parent = sg local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 12) corner.Parent = btn local function updateVisual() if isEnabled then btn.BackgroundColor3 = Color3.fromRGB(60, 200, 100) btn.Text = "ON 2" else btn.BackgroundColor3 = Color3.fromRGB(35, 35, 40) btn.Text = "OFF 2" end end btn.MouseButton1Click:Connect(function() isEnabled = not isEnabled updateVisual() if isEnabled then if not radiusPart then radiusPart = Instance.new("Part") radiusPart.Size = Vector3.new(radius * 2, 0.1, radius * 2) radiusPart.Anchored = true radiusPart.CanCollide = false radiusPart.Transparency = 1 radiusPart.Parent = Workspace end print("Sneaky Alto 2 ativado") else if radiusPart then radiusPart:Destroy() radiusPart = nil end print("Sneaky Alto 2 desativado") end end) updateVisual() end createToggleButton() -- ============================================= -- Funções -- ============================================= local function isBallInRadius() local field = Workspace:FindFirstChild("FootballField") if not field then return false end local ball = field:FindFirstChild("SoccerBall") if not ball or not player.Character then return false end local head = player.Character:FindFirstChild("Head") if not head then return false end return (ball.Position - head.Position).Magnitude <= radius end local function updateRadiusPosition() if radiusPart and player.Character then local head = player.Character:FindFirstChild("Head") if head then radiusPart.Position = head.Position + Vector3.new(0, -0.1, 0) end end end local function kickBall() local field = Workspace:FindFirstChild("FootballField") if not field then return end local ball = field:FindFirstChild("SoccerBall") if not ball or not isBallInRadius() then return end local characterRoot = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if not characterRoot then return end local mouse = player:GetMouse() local mousePosition = mouse.Hit.Position local ballPosition = characterRoot.Position + Vector3.new(0, kickHeight, 0) ball.CFrame = CFrame.new(ballPosition) local target = Vector3.new( mousePosition.X, characterRoot.Position.Y, mousePosition.Z ) local rawDirection = target - characterRoot.Position if rawDirection.Magnitude == 0 then return end local horizontalDir = Vector3.new( rawDirection.X, 0, rawDirection.Z ).Unit local bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Velocity = horizontalDir * 9.5 + Vector3.new(0, kickHeight, 0) bodyVelocity.MaxForce = Vector3.new(3000, 3000, 3000) bodyVelocity.Parent = ball Debris:AddItem(bodyVelocity, 0.1) end RunService.Heartbeat:Connect(function() if isEnabled then updateRadiusPosition() kickBall() end end)