local player = game.Players.LocalPlayer local players = game:GetService("Players") -- MAIN GUI local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui")) gui.Name = "FakeEnforcer" local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(0, 260, 0, 180) frame.Position = UDim2.new(0.4, 0, 0.4, 0) frame.BackgroundColor3 = Color3.fromRGB(20,20,20) frame.Active = true frame.Draggable = true local title = Instance.new("TextLabel", frame) title.Size = UDim2.new(1,0,0,30) title.Text = "Fake Enforcer Powers 🌐" title.TextScaled = true title.BackgroundColor3 = Color3.fromRGB(40,40,40) title.TextColor3 = Color3.new(1,1,1) -- FUNCTION: TOP MESSAGE local function showMessage(text) local msg = Instance.new("TextLabel", gui) msg.Size = UDim2.new(1,0,0,40) msg.Position = UDim2.new(0,0,0,0) msg.BackgroundColor3 = Color3.fromRGB(120,0,0) msg.TextColor3 = Color3.new(1,1,1) msg.TextScaled = true msg.Text = text task.wait(3) msg:Destroy() end -- BUTTON CREATOR local function makeButton(text, posY) local btn = Instance.new("TextButton", frame) btn.Size = UDim2.new(0.8,0,0.2,0) btn.Position = UDim2.new(0.1,0,posY,0) btn.Text = text btn.TextScaled = true btn.BackgroundColor3 = Color3.fromRGB(70,70,70) btn.TextColor3 = Color3.new(1,1,1) return btn end -- 1️⃣ ANNOUNCEMENT BUTTON local announceBtn = makeButton("SEND ANNOUNCEMENT", 0.25) announceBtn.MouseButton1Click:Connect(function() local subGui = Instance.new("Frame", gui) subGui.Size = UDim2.new(0, 300, 0, 150) subGui.Position = UDim2.new(0.4,0,0.4,0) subGui.BackgroundColor3 = Color3.fromRGB(30,30,30) local box = Instance.new("TextBox", subGui) box.Size = UDim2.new(0.8,0,0.3,0) box.Position = UDim2.new(0.1,0,0.2,0) box.PlaceholderText = "Type anything here" box.TextScaled = true local send = Instance.new("TextButton", subGui) send.Size = UDim2.new(0.5,0,0.25,0) send.Position = UDim2.new(0.25,0,0.6,0) send.Text = "SEND" send.TextScaled = true send.MouseButton1Click:Connect(function() showMessage(box.Text) subGui:Destroy() end) end) -- FUNCTION: PLAYER LIST GUI local function openPlayerMenu(mode) local listGui = Instance.new("Frame", gui) listGui.Size = UDim2.new(0, 250, 0, 300) listGui.Position = UDim2.new(0.4,0,0.4,0) listGui.BackgroundColor3 = Color3.fromRGB(30,30,30) local layout = Instance.new("UIListLayout", listGui) for _, plr in pairs(players:GetPlayers()) do if plr ~= player then local btn = Instance.new("TextButton", listGui) btn.Size = UDim2.new(1,0,0,30) btn.Text = plr.Name btn.TextScaled = true btn.MouseButton1Click:Connect(function() if mode == "detention" then showMessage(plr.Name .. " sent to detention! (not really)") else showMessage(plr.Name .. " suspended! (not really)") end listGui:Destroy() end) end end end -- 2️⃣ FAKE DETENTION local detentionBtn = makeButton("FAKE DETENTION", 0.5) detentionBtn.MouseButton1Click:Connect(function() openPlayerMenu("detention") end) -- 3️⃣ FAKE SUSPENSION local suspensionBtn = makeButton("FAKE SUSPENSION", 0.75) suspensionBtn.MouseButton1Click:Connect(function() openPlayerMenu("suspension") end)