local plr = game.Players.LocalPlayer local guiMain = Instance.new("ScreenGui", plr:WaitForChild("PlayerGui")) guiMain.Name = "MainGui" -- MOT DE PASSE local passwordGui = Instance.new("Frame", guiMain) passwordGui.Size = UDim2.new(0, 300, 0, 150) passwordGui.Position = UDim2.new(0.5, -150, 0.5, -75) passwordGui.BackgroundColor3 = Color3.new(0, 0, 0) passwordGui.BorderSizePixel = 0 passwordGui.Active = true passwordGui.Draggable = true local title = Instance.new("TextLabel", passwordGui) title.Size = UDim2.new(1, 0, 0.3, 0) title.Text = "Password" title.TextColor3 = Color3.new(1, 1, 1) title.BackgroundTransparency = 1 title.Font = Enum.Font.GothamBold title.TextScaled = true local textbox = Instance.new("TextBox", passwordGui) textbox.Size = UDim2.new(0.9, 0, 0.3, 0) textbox.Position = UDim2.new(0.05, 0, 0.4, 0) textbox.PlaceholderText = "Enter password..." textbox.TextColor3 = Color3.new(1, 1, 1) textbox.BackgroundColor3 = Color3.fromRGB(30, 30, 30) textbox.Font = Enum.Font.Gotham textbox.TextScaled = true local confirm = Instance.new("TextButton", passwordGui) confirm.Size = UDim2.new(0.9, 0, 0.2, 0) confirm.Position = UDim2.new(0.05, 0, 0.75, 0) confirm.Text = "CONFIRM" confirm.TextColor3 = Color3.new(1, 1, 1) confirm.BackgroundColor3 = Color3.fromRGB(60, 0, 0) confirm.Font = Enum.Font.GothamBold confirm.TextScaled = true -- MENU APRÈS MOT DE PASSE local function unlockMenu() passwordGui:Destroy() local menuGui = Instance.new("ScreenGui", plr:WaitForChild("PlayerGui")) menuGui.Name = "MenuGui" local menuFrame = Instance.new("Frame", menuGui) menuFrame.Size = UDim2.new(0, 250, 0, 400) menuFrame.Position = UDim2.new(0.1, 0, 0.2, 0) menuFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) menuFrame.Active = true menuFrame.Draggable = true local currentMusic = nil local function spawnParticles() for i = 1, 10 do local p = Instance.new("ParticleEmitter") p.Texture = "rbxassetid://74873629884014" p.Rate = 100 p.Lifetime = NumberRange.new(1) p.Size = NumberSequence.new(1) p.Parent = workspace.Terrain game:GetService("Debris"):AddItem(p, 2) task.wait(0.1) end end local function changeSky() local sky = Instance.new("Sky", game.Lighting) for _, face in ipairs({"Bk", "Dn", "Ft", "Lf", "Rt", "Up"}) do sky["Skybox"..face] = "rbxassetid://74873629884014" end end local function spamDecals() for _, obj in pairs(workspace:GetDescendants()) do if obj:IsA("Part") and not obj:FindFirstChild("JumpscareDecal") then local decal = Instance.new("Decal", obj) decal.Name = "JumpscareDecal" decal.Texture = "rbxassetid://74873629884014" end end end local function stopMusic() if currentMusic then currentMusic:Stop() currentMusic:Destroy() currentMusic = nil end end local actions = { {"Jumpscare", function() local img = Instance.new("ImageLabel", menuGui) img.Size = UDim2.new(1, 0, 1, 0) img.BackgroundTransparency = 1 img.Image = "rbxassetid://74873629884014" local sound = Instance.new("Sound", plr.PlayerGui) sound.SoundId = "rbxassetid://6018028320" sound.Volume = 10 sound:Play() spawnParticles() changeSky() spamDecals() task.delay(9, function() img:Destroy() sound:Destroy() end) end}, {"Musique creepy", function() stopMusic() currentMusic = Instance.new("Sound", plr.PlayerGui) currentMusic.SoundId = "rbxassetid://112165903362237" currentMusic.Volume = 5 currentMusic:Play() task.delay(4, function() local slow = Instance.new("Sound", plr.PlayerGui) slow.SoundId = "rbxassetid://103215672097028" slow.Volume = 5 slow.Looped = true slow.PlaybackSpeed = 0.8 slow:Play() end) end}, {"Theme Minecraft", function() stopMusic() currentMusic = Instance.new("Sound", plr.PlayerGui) currentMusic.SoundId = "rbxassetid://94446515790251" currentMusic.Volume = 1.0 currentMusic.Pitch = 1.0 currentMusic.Looped = true currentMusic:Play() end}, {"Stop Musique", stopMusic}, {"Particules", spawnParticles}, {"Changer Ciel", changeSky}, {"Spam Decals", spamDecals} } for i, action in ipairs(actions) do local btn = Instance.new("TextButton", menuFrame) btn.Size = UDim2.new(0.8, 0, 0, 35) btn.Position = UDim2.new(0.1, 0, 0, 10 + (i - 1) * 40) btn.Text = action[1] btn.BackgroundColor3 = Color3.fromRGB(30 + i*20, 0, 60) btn.TextColor3 = Color3.new(1, 1, 1) btn.Font = Enum.Font.GothamBold btn.TextScaled = true btn.MouseButton1Click:Connect(action[2]) end end -- Vérification mot de passe confirm.MouseButton1Click:Connect(function() if textbox.Text == "L00plkidd" then unlockMenu() else textbox.Text = "" textbox.PlaceholderText = "Mot de passe incorrect !" end end)