Advertisement
dev017

admin painel roblox (EXPLOIT) (v2)

Apr 3rd, 2023 (edited)
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.01 KB | None | 0 0
  1. local AdminPanel = Instance.new("Folder")
  2. AdminPanel.Name = "AdminPanel"
  3. AdminPanel.Parent = game.ServerScriptService
  4.  
  5. local AdminCheck = Instance.new("Script")
  6. AdminCheck.Name = "AdminCheck"
  7. AdminCheck.Parent = AdminPanel
  8. AdminCheck.Source = [[
  9. local admins = {"crazylockmen", "rIco_kaoBR", "dasfgenj"}
  10.  
  11. local function isAdmin(player)
  12.     for _, name in ipairs(admins) do
  13.         if player.Name == name then
  14.             return true
  15.         end
  16.     end
  17.     return false
  18. end
  19.  
  20. local function isVIP(player)
  21.     if game.VIPServerId ~= "" and game.VIPServerOwnerId == player.UserId then
  22.         return true
  23.     end
  24.     return false
  25. end
  26.  
  27. local AdminEvent = Instance.new("RemoteEvent")
  28. AdminEvent.Name = "AdminEvent"
  29. AdminEvent.Parent = game.ReplicatedStorage
  30.  
  31. game.Players.PlayerAdded:Connect(function(player)
  32.     player.CharacterAdded:Wait()
  33.     local adminStatus = isAdmin(player)
  34.     local vipStatus = isVIP(player)
  35.     AdminEvent:FireClient(player, adminStatus, vipStatus)
  36. end)
  37. ]]
  38.  
  39. local AdminGUI = Instance.new("LocalScript")
  40. AdminGUI.Name = "AdminGUI"
  41. AdminGUI.Parent = AdminPanel
  42. AdminGUI.Source = [[
  43. local ScreenGUI = Instance.new("ScreenGui")
  44. ScreenGUI.Name = "ScreenGUI"
  45. ScreenGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  46.  
  47. local Frame = Instance.new("Frame")
  48. Frame.Name = "Frame"
  49. Frame.Size = UDim2.new(0.2, 0, 0.4, 0)
  50. Frame.Position = UDim2.new(0.8, 0, 0.1, 0)
  51. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  52. Frame.Parent = ScreenGUI
  53.  
  54. local KillButton = Instance.new("TextButton")
  55. KillButton.Name = "KillButton"
  56. KillButton.Text = "Kill"
  57. KillButton.Size = UDim2.new(0.8, 0, 0.1, 0)
  58. KillButton.Position = UDim2.new(0.1, 0, 0.1, 0)
  59. KillButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  60. KillButton.Parent = Frame
  61.  
  62. local KickButton = Instance.new("TextButton")
  63. KickButton.Name = "KickButton"
  64. KickButton.Text = "Kick"
  65. KickButton.Size = UDim2.new(0.8, 0, 0.1, 0)
  66. KickButton.Position = UDim2.new(0.1, 0, 0.2, 0)
  67. KickButton.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
  68. KickButton.Parent = Frame
  69.  
  70. local FlingButton = Instance.new("TextButton")
  71. FlingButton.Name = "FlingButton"
  72. FlingButton.Text = “Fling”
  73. FlingButton.Size = UDim2.new(0.8, 0, 0.1, 0)
  74. FlingButton.Position = UDim2.new(0.1, 0, 0.3, 0)
  75. FlingButton.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
  76. FlingButton.Parent = Frame
  77.  
  78. AdminButton = Instance.new(“TextButton”)
  79. AdminButton.Name = “AdminButton”
  80. AdminButton.Text = “Give Admin”
  81. AdminButton.Size = UDim2.new(0.80, 0.1, 0)
  82. AdminButton.Position = UDim2.new(0.1, 0, 0.4, 0)
  83. AdminButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  84. AdminButton.Parent = Frame
  85.  
  86. local GiveAdminEvent = Instance.new(“RemoteEvent”)
  87. GiveAdminEvent.Name = “GiveAdminEvent”
  88. GiveAdminEvent.Parent = game.ReplicatedStorage
  89.  
  90. AdminButton.MouseClick:Connect(function()
  91. local targetName = game:GetService(“UserInputService”):InputBox(“Enter the name of the player you want to give admin to:, “Give Admin”, Enum.InputBoxType.Default).Text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement