local lp = game.Players.LocalPlayer local char = lp.Character or lp.CharacterAdded:Wait() local root = char:WaitForChild("HumanoidRootPart") local playerGui = lp:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui", playerGui) screenGui.Name = "pancake executioner 3000" screenGui.ResetOnSpawn = false local frame = Instance.new("Frame", screenGui) frame.Name = "Main" frame.Size = UDim2.new(0, 250, 0, 150) frame.Position = UDim2.new(0.5, -125, 0.5, -75) frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true local title = Instance.new("TextLabel", frame) title.Name = "Title" title.Size = UDim2.new(1, 0, 0, 30) title.Text = "pancake executioner" title.TextColor3 = Color3.new(1, 1, 1) title.BackgroundColor3 = Color3.fromRGB(255, 170, 0) title.BorderSizePixel = 0 local playerInput = Instance.new("TextBox", frame) playerInput.Name = "UserField" playerInput.Size = UDim2.new(0.9, 0, 0, 30) playerInput.Position = UDim2.new(0.05, 0, 0.3, 0) playerInput.PlaceholderText = "enter username..." playerInput.Text = "" local flattenBtn = Instance.new("TextButton", frame) flattenBtn.Name = "ExecuteBtn" flattenBtn.Size = UDim2.new(0.9, 0, 0, 40) flattenBtn.Position = UDim2.new(0.05, 0, 0.6, 0) flattenBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0) flattenBtn.Text = "FLATTEN THEM NOW!!!??" flattenBtn.TextColor3 = Color3.new(1, 1, 1) flattenBtn.TextScaled = true local function squash(targetPlayer) local tChar = targetPlayer.Character if not tChar then return end local tRoot = tChar:FindFirstChild("HumanoidRootPart") local tHum = tChar:FindFirstChildOfClass("Humanoid") if tRoot and tHum then tRoot.CFrame = root.CFrame * CFrame.new(0, 10, -15) tRoot.Anchored = true local function createPancake(offset, name) local p = Instance.new("Part", workspace) p.Name = name p.Size = Vector3.new(1, 1, 1) p.CanCollide = false p.Anchored = true p.CFrame = tRoot.CFrame * CFrame.new(0, offset, 0) local m = Instance.new("SpecialMesh", p) m.MeshId = "rbxassetid://7099113602" m.TextureId = "rbxassetid://7099113679" m.Scale = Vector3.new(6, 5, 6) return p end local pancake1 = createPancake(-12, "pancake1") local pancake2 = createPancake(12, "pancake2") local fearSound = Instance.new("Sound", tRoot) fearSound.Name = "Fear" fearSound.SoundId = "rbxassetid://140505775566543" fearSound.Volume = 10 local dist1 = Instance.new("DistortionSoundEffect", fearSound) dist1.Level = 1 fearSound:Play() task.wait(1) local squashSound = Instance.new("Sound", tRoot) squashSound.Name = "Squash" squashSound.SoundId = "rbxassetid://99762654932080" squashSound.Volume = 10 local dist2 = Instance.new("DistortionSoundEffect", squashSound) dist2.Level = 1 squashSound:Play() task.wait(2) local steps = 15 for i = 1, steps do pancake1.CFrame = pancake1.CFrame * CFrame.new(0, 0.8, 0) pancake2.CFrame = pancake2.CFrame * CFrame.new(0, -0.8, 0) task.wait(0.01) end tHum.Health = 0 tRoot.Anchored = false task.wait(0.5) pancake1:Destroy() pancake2:Destroy() fearSound:Destroy() squashSound:Destroy() end end flattenBtn.MouseButton1Click:Connect(function() local targetName = playerInput.Text local target = nil for _, v in pairs(game.Players:GetPlayers()) do if v.Name:lower():sub(1, #targetName) == targetName:lower() then target = v break end end if target then squash(target) end end)