local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local Players = game:GetService("Players") local Lighting = game:GetService("Lighting") local Workspace = game:GetService("Workspace") local player = Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") local rootPart = character:WaitForChild("HumanoidRootPart") -- Variables pour GodMode local godModeEnabled = false local originalHumanoid = nil -- GUI Creator Function local function createWindow(title, sizeX, sizeY, isCoolKid) local ScreenGui = Instance.new("ScreenGui") ScreenGui.Parent = player:WaitForChild("PlayerGui") ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling local Frame = Instance.new("Frame") Frame.Parent = ScreenGui Frame.BackgroundColor3 = isCoolKid and Color3.fromRGB(30, 0, 0) or Color3.fromRGB(20, 20, 20) Frame.BorderColor3 = isCoolKid and Color3.fromRGB(200, 0, 0) or Color3.fromRGB(0, 150, 255) Frame.BorderSizePixel = 1 Frame.Size = UDim2.new(0, sizeX, 0, sizeY) Frame.Position = UDim2.new(0.3, 0, 0.3, 0) Frame.Active = true Frame.Draggable = true local TitleBar = Instance.new("Frame") TitleBar.Parent = Frame TitleBar.BackgroundColor3 = isCoolKid and Color3.fromRGB(150, 0, 0) or Color3.fromRGB(0, 100, 200) TitleBar.Size = UDim2.new(1, 0, 0, 30) TitleBar.Position = UDim2.new(0, 0, 0, 0) TitleBar.Active = true TitleBar.Draggable = true local Title = Instance.new("TextLabel") Title.Parent = TitleBar Title.BackgroundTransparency = 1 Title.Size = UDim2.new(1, 0, 1, 0) Title.Font = Enum.Font.Code Title.Text = title Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 18 local CloseButton = Instance.new("TextButton") CloseButton.Parent = TitleBar CloseButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0) CloseButton.Size = UDim2.new(0, 30, 0, 30) CloseButton.Position = UDim2.new(1, -30, 0, 0) CloseButton.Font = Enum.Font.Code CloseButton.Text = "X" CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255) CloseButton.TextSize = 18 CloseButton.MouseButton1Click:Connect(function() ScreenGui:Destroy() end) -- Texte clignotant en bas (uniquement menu principal) if not isCoolKid then local CreditLabel = Instance.new("TextLabel") CreditLabel.Parent = Frame CreditLabel.BackgroundTransparency = 1 CreditLabel.Size = UDim2.new(1, 0, 0, 20) CreditLabel.Position = UDim2.new(0, 0, 1, -20) CreditLabel.Font = Enum.Font.Code CreditLabel.Text = "Created by Mistral AI & Capi" CreditLabel.TextColor3 = Color3.fromRGB(255, 0, 0) CreditLabel.TextSize = 14 CreditLabel.TextStrokeTransparency = 0 coroutine.wrap(function() while true do CreditLabel.TextTransparency = 0 wait(0.5) CreditLabel.TextTransparency = 0.5 wait(0.5) end end)() end return ScreenGui, Frame end -- Toggle Button Function local function createToggle(parent, name, yPos, default, callback, isCoolKid) local ToggleButton = Instance.new("TextButton") ToggleButton.Parent = parent ToggleButton.BackgroundColor3 = isCoolKid and Color3.fromRGB(50, 0, 0) or Color3.fromRGB(30, 30, 30) ToggleButton.BorderColor3 = isCoolKid and Color3.fromRGB(200, 0, 0) or Color3.fromRGB(0, 150, 255) ToggleButton.Position = UDim2.new(0.1, 0, 0, yPos) ToggleButton.Size = UDim2.new(0.8, 0, 0, 30) ToggleButton.Font = Enum.Font.Code ToggleButton.Text = name .. " : OFF" ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleButton.TextSize = 16 local isOn = default ToggleButton.MouseButton1Click:Connect(function() isOn = not isOn ToggleButton.Text = name .. " : " .. (isOn and "ON" or "OFF") callback(isOn) end) return function(newState) isOn = newState ToggleButton.Text = name .. " : " .. (isOn and "ON" or "OFF") callback(isOn) end end -- Button Function local function createButton(parent, name, yPos, callback, isCoolKid) local Button = Instance.new("TextButton") Button.Parent = parent Button.BackgroundColor3 = isCoolKid and Color3.fromRGB(50, 0, 0) or Color3.fromRGB(30, 30, 30) Button.BorderColor3 = isCoolKid and Color3.fromRGB(200, 0, 0) or Color3.fromRGB(0, 150, 255) Button.Position = UDim2.new(0.1, 0, 0, yPos) Button.Size = UDim2.new(0.8, 0, 0, 30) Button.Font = Enum.Font.Code Button.Text = name Button.TextColor3 = Color3.fromRGB(255, 255, 255) Button.TextSize = 16 Button.MouseButton1Click:Connect(callback) return Button end -- Label Function (pour Auto Draw) local function createLabel(parent, text, yPos) local Label = Instance.new("TextLabel") Label.Parent = parent Label.BackgroundColor3 = Color3.fromRGB(30, 30, 30) Label.BorderColor3 = Color3.fromRGB(0, 150, 255) Label.Position = UDim2.new(0.1, 0, 0, yPos) Label.Size = UDim2.new(0.8, 0, 0, 30) Label.Font = Enum.Font.Code Label.Text = text Label.TextColor3 = Color3.fromRGB(255, 100, 100) Label.TextSize = 16 Label.TextWrapped = true end -- Main Menu local mainGui, mainFrame = createWindow("420 Menu", 300, 430) -- Fly Function local flyBodyVelocity = Instance.new("BodyVelocity") local flyBodyGyro = Instance.new("BodyGyro") local flyConnection local function toggleFly(bool) if bool then flyBodyVelocity.Velocity = Vector3.new(0, 0, 0) flyBodyVelocity.MaxForce = Vector3.new(4000, 4000, 4000) flyBodyGyro.MaxTorque = Vector3.new(4000, 4000, 4000) flyBodyGyro.CFrame = rootPart.CFrame flyBodyVelocity.Parent = rootPart flyBodyGyro.Parent = rootPart flyConnection = RunService.Heartbeat:Connect(function() if not rootPart or not flyBodyVelocity.Parent then flyConnection:Disconnect() return end rootPart.Velocity = Vector3.new(0, 0, 0) local moveDirection = Vector3.new() if UserInputService:IsKeyDown(Enum.KeyCode.W) then moveDirection = moveDirection + workspace.CurrentCamera.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.S) then moveDirection = moveDirection - workspace.CurrentCamera.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.A) then moveDirection = moveDirection - workspace.CurrentCamera.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.D) then moveDirection = moveDirection + workspace.CurrentCamera.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then moveDirection = moveDirection + Vector3.new(0, 1, 0) end if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then moveDirection = moveDirection - Vector3.new(0, 1, 0) end flyBodyVelocity.Velocity = moveDirection * 50 end) else if flyConnection then flyConnection:Disconnect() end flyBodyVelocity:Destroy() flyBodyGyro:Destroy() end end createToggle(mainFrame, "Fly", 40, false, toggleFly) -- Boost Speed createToggle(mainFrame, "Boost Speed", 80, false, function(bool) humanoid.WalkSpeed = bool and 50 or 16 end) -- GodMode (corrigé) local function toggleGodMode(bool) godModeEnabled = bool if bool then originalHumanoid = character:FindFirstChildOfClass("Humanoid") if originalHumanoid then originalHumanoid.Name = "OriginalHumanoid" local newHumanoid = originalHumanoid:Clone() newHumanoid.Name = "Humanoid" newHumanoid.Parent = character originalHumanoid:Destroy() workspace.CurrentCamera.CameraSubject = newHumanoid end else if originalHumanoid then local currentHumanoid = character:FindFirstChildOfClass("Humanoid") if currentHumanoid then currentHumanoid:Destroy() end originalHumanoid.Name = "Humanoid" originalHumanoid.Parent = character workspace.CurrentCamera.CameraSubject = originalHumanoid originalHumanoid = nil end end end createToggle(mainFrame, "GodMode", 120, false, toggleGodMode) -- Kill All createToggle(mainFrame, "Kill All", 160, false, function(bool) if bool then for _, v in pairs(Players:GetPlayers()) do if v ~= player and v.Character then local targetHumanoid = v.Character:FindFirstChildOfClass("Humanoid") if targetHumanoid then targetHumanoid.Health = 0 end end end end end) -- Auto Draw (maintenance) createLabel(mainFrame, "Auto Draw: Under maintenance...", 200) -- No Kick createToggle(mainFrame, "No Kick", 240, false, function(bool) if bool then game:GetService("Players").LocalPlayer.Kick = function() end end end) -- Trait rouge clignotant sous CoolKid local coolKidLine = Instance.new("Frame") coolKidLine.Parent = mainFrame coolKidLine.BackgroundColor3 = Color3.fromRGB(255, 0, 0) coolKidLine.BorderSizePixel = 0 coolKidLine.Size = UDim2.new(0.8, 0, 0, 2) coolKidLine.Position = UDim2.new(0.1, 0, 0, 390) coolKidLine.Visible = true coroutine.wrap(function() while true do coolKidLine.Visible = not coolKidLine.Visible wait(0.5) end end)() -- Appearance GUI createButton(mainFrame, "Appearance", 280, function() local appGui, appFrame = createWindow("Appearance", 300, 250) createButton(appFrame, "Random Color", 40, function() for _, part in pairs(character:GetChildren()) do if part:IsA("BasePart") then part.Color = Color3.fromRGB(math.random(0, 255), math.random(0, 255), math.random(0, 255)) end end end) createButton(appFrame, "Reset Color", 80, function() for _, part in pairs(character:GetChildren()) do if part:IsA("BasePart") then part.Color = Color3.fromRGB(255, 255, 255) end end end) createToggle(appFrame, "Invisible", 120, false, function(bool) for _, part in pairs(character:GetChildren()) do if part:IsA("BasePart") then part.Transparency = bool and 1 or 0 end end end) end) -- Power Tools GUI createButton(mainFrame, "Power Tools", 320, function() local powerGui, powerFrame = createWindow("Power Tools", 300, 300) createToggle(powerFrame, "Low Gravity", 40, false, function(bool) Workspace.Gravity = bool and 50 or 196.2 end) createToggle(powerFrame, "Speed Boost +", 80, false, function(bool) humanoid.WalkSpeed = bool and 100 or 16 end) createToggle(powerFrame, "Super Jump", 120, false, function(bool) humanoid.JumpPower = bool and 100 or 50 end) createToggle(powerFrame, "No Fog", 160, false, function(bool) Lighting.FogEnd = bool and 100000 or 20000 end) createToggle(powerFrame, "Full Bright", 200, false, function(bool) Lighting.Ambient = bool and Color3.fromRGB(255, 255, 255) or Color3.fromRGB(128, 128, 128) end) end) -- CoolKid GUI (thème rouge/noir) local coolKidButton = createButton(mainFrame, "CoolKid", 360, function() local coolGui, coolFrame = createWindow("CoolKid", 300, 300, true) createButton(coolFrame, "Night Sky", 40, function() Lighting.ClockTime = 0 Lighting.FogEnd = 100000 Lighting.FogColor = Color3.fromRGB(0, 0, 0) Lighting.Ambient = Color3.fromRGB(0, 0, 0) end, true) createToggle(coolFrame, "Noclip", 80, false, function(bool) for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = not bool end end end, true) createToggle(coolFrame, "Invisible", 120, false, function(bool) for _, part in pairs(character:GetChildren()) do if part:IsA("BasePart") then part.Transparency = bool and 1 or 0 end end end, true) createButton(coolFrame, "Kill Nearby", 160, function() for _, v in pairs(Players:GetPlayers()) do if v ~= player and v.Character and (v.Character.HumanoidRootPart.Position - rootPart.Position).Magnitude < 20 then local targetHumanoid = v.Character:FindFirstChildOfClass("Humanoid") if targetHumanoid then targetHumanoid.Health = 0 end end end end, true) createToggle(coolFrame, "Break Walls", 200, false, function(bool) if bool then for _, part in pairs(Workspace:GetDescendants()) do if part:IsA("BasePart") and part.Anchored and part.Transparency < 1 then part:Destroy() end end end end, true) end) coolKidButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0) coolKidButton.TextColor3 = Color3.fromRGB(255, 255, 255)