-- Variables local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") local camera = game.Workspace.CurrentCamera local runService = game:GetService("RunService") -- Create Screen GUI local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.CoreGui screenGui.ResetOnSpawn = false -- Create Main Frame local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 250, 0, 350) mainFrame.Position = UDim2.new(0.5, -125, 0.5, -200) mainFrame.BackgroundColor3 = Color3.fromRGB(0, 255, 0) mainFrame.BorderSizePixel = 3 mainFrame.Visible = true mainFrame.Parent = screenGui -- Rainbow Border Effect runService.RenderStepped:Connect(function() mainFrame.BorderColor3 = Color3.fromHSV(tick() % 5 / 5, 1, 1) end) -- Toggle Button local toggleButton = Instance.new("TextButton") toggleButton.Size = UDim2.new(0, 50, 0, 40) toggleButton.Position = UDim2.new(1, -60, 0.5, -20) toggleButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0) toggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) toggleButton.Text = ">>]" toggleButton.Parent = screenGui toggleButton.MouseButton1Click:Connect(function() mainFrame.Visible = not mainFrame.Visible toggleButton.Text = mainFrame.Visible and ">>]" or "<<[" end) -- Function to create buttons with labels local function createButtonWithLabel(name, position, text, statusText, callback) local button = Instance.new("TextButton") button.Size = UDim2.new(0, 180, 0, 30) button.Position = UDim2.new(0, 10, 0, position) button.Text = text button.TextXAlignment = Enum.TextXAlignment.Left button.Parent = mainFrame local statusLabel = Instance.new("TextLabel") statusLabel.Size = UDim2.new(0, 50, 0, 30) statusLabel.Position = UDim2.new(1, -60, 0, 0) statusLabel.BackgroundTransparency = 1 statusLabel.TextColor3 = Color3.fromRGB(255, 255, 255) statusLabel.Text = statusText statusLabel.Parent = button button.MouseButton1Click:Connect(function() callback(statusLabel) end) return button, statusLabel end -- Hijack Bomb (No ON/OFF) local hijackBomb = Instance.new("TextButton") hijackBomb.Size = UDim2.new(0, 230, 0, 30) hijackBomb.Position = UDim2.new(0, 10, 0, 10) hijackBomb.Text = "Hijack Bomb" hijackBomb.Parent = mainFrame -- Anti-Lag (1× Instead of ON/OFF) createButtonWithLabel("AntiLag", 50, "Anti Lag", "1×", function() for _, v in pairs(workspace:GetDescendants()) do if v:IsA("Decal") or v:IsA("Texture") then v:Destroy() elseif v:IsA("Part") then v.Material = Enum.Material.SmoothPlastic end end end) -- Fullbright Toggle local fullbrightOn = false createButtonWithLabel("Fullbright", 90, "Fullbright", "Off", function(statusLabel) fullbrightOn = not fullbrightOn game.Lighting.Brightness = fullbrightOn and 10 or 1 statusLabel.Text = fullbrightOn and "On" or "Off" end) -- Speed Adjustment local speed = 16 local speedLabel = Instance.new("TextButton") speedLabel.Size = UDim2.new(0, 50, 0, 30) speedLabel.Position = UDim2.new(1, -60, 0, 130) speedLabel.BackgroundTransparency = 1 speedLabel.TextColor3 = Color3.fromRGB(255, 255, 255) speedLabel.Text = tostring(speed) speedLabel.Parent = mainFrame -- Change Speed Button local changeSpeedButton = Instance.new("TextButton") changeSpeedButton.Size = UDim2.new(0, 180, 0, 30) changeSpeedButton.Position = UDim2.new(0, 10, 0, 130) changeSpeedButton.Text = "Change Speed" changeSpeedButton.TextXAlignment = Enum.TextXAlignment.Left changeSpeedButton.Parent = mainFrame changeSpeedButton.MouseButton1Click:Connect(function() humanoid.WalkSpeed = speed end) -- Clicking Speed Label opens input speedLabel.MouseButton1Click:Connect(function() local inputBox = Instance.new("TextBox") inputBox.Size = speedLabel.Size inputBox.Position = speedLabel.Position inputBox.Parent = mainFrame inputBox.Text = "" inputBox.TextScaled = true inputBox.BackgroundColor3 = Color3.fromRGB(0, 0, 0) inputBox.TextColor3 = Color3.fromRGB(255, 255, 255) inputBox.FocusLost:Connect(function(enterPressed) if enterPressed then local newSpeed = tonumber(inputBox.Text) if newSpeed and newSpeed >= 0.001 and newSpeed <= 1000 then speed = newSpeed speedLabel.Text = tostring(speed) end end inputBox:Destroy() end) inputBox:CaptureFocus() end) -- ESP Toggle local espOn = false createButtonWithLabel("ESP", 170, "ESP", "Off", function(statusLabel) espOn = not espOn statusLabel.Text = espOn and "On" or "Off" end) -- Aimbot Toggle local aimbotOn = false local aimbotConnection createButtonWithLabel("Aimbot", 210, "Aimbot", "Off", function(statusLabel) aimbotOn = not aimbotOn statusLabel.Text = aimbotOn and "On" or "Off" if aimbotOn then aimbotConnection = runService.RenderStepped:Connect(function() local closestPlayer local shortestDistance = math.huge for _, target in pairs(game.Players:GetPlayers()) do if target ~= player and target.Character and target.Character:FindFirstChild("HumanoidRootPart") then local targetPos = target.Character.HumanoidRootPart.Position local distance = (character.HumanoidRootPart.Position - targetPos).Magnitude if distance < shortestDistance then shortestDistance = distance closestPlayer = target end end end if closestPlayer then if player.CameraMode == Enum.CameraMode.LockFirstPerson then -- First-person: Directly aim at head local head = closestPlayer.Character:FindFirstChild("Head") if head then camera.CFrame = CFrame.new(camera.CFrame.Position, head.Position) end else -- Third-person: Character faces the nearest player local root = character:FindFirstChild("HumanoidRootPart") if root then root.CFrame = CFrame.new(root.Position, closestPlayer.Character.HumanoidRootPart.Position) end end end end) else if aimbotConnection then aimbotConnection:Disconnect() end end end) -- Player Info local playerInfo = Instance.new("TextLabel") playerInfo.Size = UDim2.new(0, 230, 0, 30) playerInfo.Position = UDim2.new(0, 10, 0, 250) playerInfo.Text = "Hello! " .. player.DisplayName playerInfo.BackgroundTransparency = 1 playerInfo.TextColor3 = Color3.fromRGB(255, 255, 255) playerInfo.Parent = mainFrame