-- HubbyX Admin Command GUI v5.0 | Interface SUITE Ultra local Players = game:GetService("Players") local Debris = game:GetService("Debris") local LocalPlayer = Players.LocalPlayer -- Player Roles local PlayerRoles = { ["Player1"] = "Guest", ["Player2"] = "VIP", ["Player3"] = "Admin", ["Player4"] = "Owner", ["000x000x333x777"] = "Creator" } -- Role Command Permissions local Roles = { Guest = {"ping","re"}, VIP = {"ping","re","m","mb","telep"}, Admin = {"ping","re","m","mb","telep","f3x","fling"}, Owner = {"ping","re","m","mb","telep","f3x","fling","kick"}, Creator = {"ping","re","m","mb","telep","f3x","fling","kick","everydelete"} } -- Command Implementations local Commands = {} -- Guest Commands function Commands.ping(player) local ping = game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValue() or 0 return player.." ping: "..ping end function Commands.re(player) local plr = Players:FindFirstChild(player) if plr and plr.Character then plr.Character:BreakJoints() return player.." respawned!" end end -- VIP Commands function Commands.m(player, ...) local text = table.concat({...}," ") return player.." says: "..text end function Commands.mb(player, badgeId) local plr = Players:FindFirstChild(player) if plr then game:GetService("BadgeService"):AwardBadge(plr.UserId, tonumber(badgeId)) return player.." received badge: "..badgeId end end function Commands.telep(player, x, y, z) local plr = Players:FindFirstChild(player) if plr and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then plr.Character.HumanoidRootPart.CFrame = CFrame.new(tonumber(x), tonumber(y), tonumber(z)) return player.." teleported to ("..x..","..y..","..z..")" end end -- Admin Commands function Commands.f3x(player) loadstring(game:GetObjects("rbxassetid://6695644299")[1].Source)() return player.." executed /f3x" end function Commands.fling(player, target) local plr = Players:FindFirstChild(target) local executor = Players:FindFirstChild(player) if plr and plr.Character and executor and executor.Character then local bv = Instance.new("BodyVelocity") bv.Velocity = (plr.Character.HumanoidRootPart.Position - executor.Character.HumanoidRootPart.Position).unit * 100 bv.MaxForce = Vector3.new(1e5,1e5,1e5) bv.Parent = plr.Character.HumanoidRootPart Debris:AddItem(bv, 0.5) return player.." flung "..target end end -- Owner Commands function Commands.kick(player, target) local plr = Players:FindFirstChild(target) if plr then plr:Kick("Kicked by "..player) return player.." kicked "..target end end -- Creator Commands function Commands.everydelete(player) coroutine.wrap(function() while true do for _, obj in pairs(workspace:GetChildren()) do if obj:IsA("Part") or obj:IsA("Model") then obj:Destroy() end end wait(1) end end)() return player.." activated /everydelete!" end -- Execute Command Function local function ExecuteCommand(player, command, ...) local role = PlayerRoles[player] or "Guest" if table.find(Roles[role], command) then if Commands[command] then return Commands[command](player, ...) else return "Command exists but not implemented" end else return player.." does not have permission for /"..command end end -- GUI Setup local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "HubbyX_AdminSuite" ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") local MainFrame = Instance.new("Frame") MainFrame.Size = UDim2.new(0,400,0,450) MainFrame.Position = UDim2.new(0.5,-200,0.5,-225) MainFrame.BackgroundColor3 = Color3.fromRGB(30,30,30) MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = ScreenGui local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1,0,0,50) Title.BackgroundColor3 = Color3.fromRGB(50,50,50) Title.Text = "HubbyX Admin Suite" Title.TextColor3 = Color3.fromRGB(255,255,255) Title.Font = Enum.Font.SourceSansBold Title.TextSize = 24 Title.Parent = MainFrame local CommandBox = Instance.new("TextBox") CommandBox.Size = UDim2.new(0.8,0,0,40) CommandBox.Position = UDim2.new(0.1,0,0.15,0) CommandBox.PlaceholderText = "Enter command..." CommandBox.TextColor3 = Color3.fromRGB(255,255,255) CommandBox.BackgroundColor3 = Color3.fromRGB(60,60,60) CommandBox.ClearTextOnFocus = true CommandBox.TextSize = 18 CommandBox.Parent = MainFrame local ExecuteBtn = Instance.new("TextButton") ExecuteBtn.Size = UDim2.new(0.8,0,0,40) ExecuteBtn.Position = UDim2.new(0.1,0,0.25,0) ExecuteBtn.Text = "Execute Command" ExecuteBtn.BackgroundColor3 = Color3.fromRGB(100,100,100) ExecuteBtn.TextColor3 = Color3.fromRGB(255,255,255) ExecuteBtn.TextSize = 18 ExecuteBtn.Parent = MainFrame local OutputLabel = Instance.new("TextLabel") OutputLabel.Size = UDim2.new(0.9,0,0.55,0) OutputLabel.Position = UDim2.new(0.05,0,0.35,0) OutputLabel.BackgroundColor3 = Color3.fromRGB(35,35,35) OutputLabel.TextColor3 = Color3.fromRGB(0,255,0) OutputLabel.TextWrapped = true OutputLabel.TextYAlignment = Enum.TextYAlignment.Top OutputLabel.Font = Enum.Font.Code OutputLabel.Text = "" OutputLabel.Parent = MainFrame -- Button Execution ExecuteBtn.MouseButton1Click:Connect(function() local input = CommandBox.Text if input == "" then return end local args = string.split(input," ") local cmd = args[1]:lower() table.remove(args,1) local result = ExecuteCommand(LocalPlayer.Name, cmd, unpack(args)) OutputLabel.Text = result CommandBox.Text = "" end)