--// GIVE ADMIN RANK MENU --// Mobile version --// Put this LocalScript in StarterPlayer > StarterPlayerScripts local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local Player = Players.LocalPlayer local PlayerGui = Player:WaitForChild("PlayerGui") --================================================== -- SETTINGS --================================================== local KICK_CLOSE = "HAHAHA🫵🤣" local KICK_BLACK = "HAHAHAHAHAHAHAHAHAHA!!! 🫵🤣🤣🤣 Free cheese is only in the mousetrap.🤣" local BLACK_SCREEN_TIME = 60 --================================================== -- GUI --================================================== local Gui = Instance.new("ScreenGui") Gui.Name = "GiveAdminPrank" Gui.ResetOnSpawn = false Gui.IgnoreGuiInset = true Gui.DisplayOrder = 999999 Gui.Parent = PlayerGui --================================================== -- MAIN WINDOW --================================================== local Main = Instance.new("Frame") Main.Name = "Main" -- Small size for phone Main.Size = UDim2.new(0, 420, 0, 360) Main.Position = UDim2.new(0.5, -210, 0.5, -180) Main.BackgroundColor3 = Color3.fromRGB(255, 0, 0) Main.BorderSizePixel = 0 Main.Parent = Gui -- NO UICORNER HERE -- The menu is completely square. local MainStroke = Instance.new("UIStroke") MainStroke.Color = Color3.fromRGB(125, 0, 0) MainStroke.Thickness = 7 MainStroke.Parent = Main --================================================== -- CLOSE BUTTON --================================================== local Close = Instance.new("TextButton") Close.Name = "Close" Close.Size = UDim2.new(0, 55, 0, 55) Close.Position = UDim2.new(1, -70, 0, 15) Close.BackgroundColor3 = Color3.fromRGB(255, 0, 0) Close.BorderSizePixel = 0 Close.Text = "" Close.AutoButtonColor = false Close.Parent = Main local CloseStroke = Instance.new("UIStroke") CloseStroke.Color = Color3.fromRGB(125, 0, 0) CloseStroke.Thickness = 3 CloseStroke.Parent = Close --================================================== -- X --================================================== local Line1 = Instance.new("Frame") Line1.Size = UDim2.new(0, 52, 0, 4) Line1.Position = UDim2.new(0.5, -26, 0.5, -2) Line1.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Line1.BorderSizePixel = 0 Line1.Rotation = 45 Line1.Parent = Close local Line2 = Instance.new("Frame") Line2.Size = UDim2.new(0, 52, 0, 4) Line2.Position = UDim2.new(0.5, -26, 0.5, -2) Line2.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Line2.BorderSizePixel = 0 Line2.Rotation = -45 Line2.Parent = Close --================================================== -- GIVE ADMIN BUTTON --================================================== local GiveAdmin = Instance.new("TextButton") GiveAdmin.Name = "GiveAdmin" GiveAdmin.Size = UDim2.new(0, 260, 0, 190) GiveAdmin.Position = UDim2.new(0.5, -130, 0.5, -75) GiveAdmin.BackgroundColor3 = Color3.fromRGB(225, 0, 0) GiveAdmin.BorderSizePixel = 0 GiveAdmin.Text = "GIVE ADMIN" GiveAdmin.TextColor3 = Color3.fromRGB(0, 0, 0) GiveAdmin.TextSize = 30 GiveAdmin.Font = Enum.Font.Arcade GiveAdmin.AutoButtonColor = false GiveAdmin.Parent = Main local GiveStroke = Instance.new("UIStroke") GiveStroke.Color = Color3.fromRGB(125, 0, 0) GiveStroke.Thickness = 4 GiveStroke.Parent = GiveAdmin --================================================== -- BUTTON ANIMATION --================================================== GiveAdmin.MouseEnter:Connect(function() TweenService:Create( GiveAdmin, TweenInfo.new(0.15), { BackgroundColor3 = Color3.fromRGB(245, 40, 40) } ):Play() end) GiveAdmin.MouseLeave:Connect(function() TweenService:Create( GiveAdmin, TweenInfo.new(0.15), { BackgroundColor3 = Color3.fromRGB(225, 0, 0) } ):Play() end) --================================================== -- CLOSE = KICK --================================================== Close.MouseButton1Click:Connect(function() Gui:Destroy() Player:Kick(KICK_CLOSE) end) --================================================== -- BLACK SCREEN --================================================== local function StartBlackScreen() Main.Visible = false -- Full black screen local Black = Instance.new("Frame") Black.Name = "BlackScreen" Black.Size = UDim2.new(1, 0, 1, 0) Black.Position = UDim2.new(0, 0, 0, 0) Black.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Black.BorderSizePixel = 0 Black.ZIndex = 999999 Black.Active = true Black.Parent = Gui -- Blocks interaction local Blocker = Instance.new("TextButton") Blocker.Size = UDim2.new(1, 0, 1, 0) Blocker.Position = UDim2.new(0, 0, 0, 0) Blocker.BackgroundTransparency = 1 Blocker.BorderSizePixel = 0 Blocker.Text = "" Blocker.AutoButtonColor = false Blocker.Active = true Blocker.ZIndex = 1000000 Blocker.Parent = Black -- Hidden timer local Countdown = Instance.new("TextLabel") Countdown.Size = UDim2.new(0, 1, 0, 1) Countdown.Position = UDim2.new(0, 0, 0, 0) Countdown.BackgroundTransparency = 1 Countdown.TextTransparency = 1 Countdown.Text = "" Countdown.Parent = Black --================================================== -- 60 SECOND TIMER --================================================== for i = BLACK_SCREEN_TIME, 1, -1 do Countdown.Text = tostring(i) task.wait(1) end --================================================== -- KICK --================================================== Player:Kick(KICK_BLACK) end --================================================== -- GIVE ADMIN --================================================== GiveAdmin.MouseButton1Click:Connect(function() StartBlackScreen() end) --================================================== -- LOADED --================================================== print("Give Admin prank loaded 😈")