Hyakume

XHyakumeX

Feb 22nd, 2025 (edited)
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.09 KB | Source Code | 0 0
  1. -- Universal Admin Panel Script (Otimizado, com Abas "Main" e "Player", Movível)
  2. local Players = game:GetService("Players")
  3. local UserInputService = game:GetService("UserInputService")
  4. local RunService = game:GetService("RunService")
  5. local LocalPlayer = Players.LocalPlayer
  6.  
  7. -- Criar o ScreenGui (verifica se já não existe para evitar duplicação)
  8. local adminPanel = Instance.new("ScreenGui")
  9. adminPanel.Name = "AdminPanel"
  10. adminPanel.ResetOnSpawn = false
  11. adminPanel.Parent = LocalPlayer:WaitForChild("PlayerGui")
  12.  
  13. -- Frame principal do painel (tamanho ajustado)
  14. local mainFrame = Instance.new("Frame")
  15. mainFrame.Size = UDim2.new(0, 350, 0, 400)
  16. mainFrame.Position = UDim2.new(0.5, -175, 0.5, -200)
  17. mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  18. mainFrame.BorderSizePixel = 0
  19. mainFrame.Parent = adminPanel
  20.  
  21. local mainFrameCorner = Instance.new("UICorner")
  22. mainFrameCorner.CornerRadius = UDim.new(0, 10)
  23. mainFrameCorner.Parent = mainFrame
  24.  
  25. ------------------------------------------------
  26. -- Tornar o painel movível (drag)
  27. ------------------------------------------------
  28. local dragging, dragInput, dragStart, startPos
  29. local function update(input)
  30.     local delta = input.Position - dragStart
  31.     mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  32. end
  33.  
  34. mainFrame.InputBegan:Connect(function(input)
  35.     if input.UserInputType == Enum.UserInputType.MouseButton1 then
  36.         dragging = true
  37.         dragStart = input.Position
  38.         startPos = mainFrame.Position
  39.         input.Changed:Connect(function()
  40.             if input.UserInputState == Enum.UserInputState.End then
  41.                 dragging = false
  42.             end
  43.         end)
  44.     end
  45. end)
  46.  
  47. mainFrame.InputChanged:Connect(function(input)
  48.     if input.UserInputType == Enum.UserInputType.MouseMovement then
  49.         dragInput = input
  50.     end
  51. end)
  52.  
  53. UserInputService.InputChanged:Connect(function(input)
  54.     if input == dragInput and dragging then
  55.         update(input)
  56.     end
  57. end)
  58.  
  59. ------------------------------------------------
  60. -- Aba de seleção (Tab Bar)
  61. ------------------------------------------------
  62. local tabBar = Instance.new("Frame")
  63. tabBar.Size = UDim2.new(1, 0, 0, 40)
  64. tabBar.Position = UDim2.new(0, 0, 0, 0)
  65. tabBar.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  66. tabBar.Parent = mainFrame
  67.  
  68. local tabBarCorner = Instance.new("UICorner")
  69. tabBarCorner.CornerRadius = UDim.new(0, 10)
  70. tabBarCorner.Parent = tabBar
  71.  
  72. local mainTabButton = Instance.new("TextButton")
  73. mainTabButton.Size = UDim2.new(0.5, -5, 1, 0)
  74. mainTabButton.Position = UDim2.new(0, 0, 0, 0)
  75. mainTabButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  76. mainTabButton.Text = "Main"
  77. mainTabButton.TextColor3 = Color3.new(1,1,1)
  78. mainTabButton.Font = Enum.Font.GothamBold
  79. mainTabButton.TextSize = 20
  80. mainTabButton.Parent = tabBar
  81.  
  82. local playerTabButton = Instance.new("TextButton")
  83. playerTabButton.Size = UDim2.new(0.5, -5, 1, 0)
  84. playerTabButton.Position = UDim2.new(0.5, 5, 0, 0)
  85. playerTabButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  86. playerTabButton.Text = "Player"
  87. playerTabButton.TextColor3 = Color3.new(1,1,1)
  88. playerTabButton.Font = Enum.Font.GothamBold
  89. playerTabButton.TextSize = 20
  90. playerTabButton.Parent = tabBar
  91.  
  92. local mainTab = Instance.new("Frame")
  93. mainTab.Size = UDim2.new(1, 0, 1, -40)
  94. mainTab.Position = UDim2.new(0, 0, 0, 40)
  95. mainTab.BackgroundTransparency = 1
  96. mainTab.Parent = mainFrame
  97.  
  98. local playerTab = Instance.new("Frame")
  99. playerTab.Size = UDim2.new(1, 0, 1, -40)
  100. playerTab.Position = UDim2.new(0, 0, 0, 40)
  101. playerTab.BackgroundTransparency = 1
  102. playerTab.Parent = mainFrame
  103. playerTab.Visible = false
  104.  
  105. mainTabButton.MouseButton1Click:Connect(function()
  106.     mainTab.Visible = true
  107.     playerTab.Visible = false
  108.     mainTabButton.BackgroundColor3 = Color3.fromRGB(70,70,70)
  109.     playerTabButton.BackgroundColor3 = Color3.fromRGB(50,50,50)
  110. end)
  111. playerTabButton.MouseButton1Click:Connect(function()
  112.     mainTab.Visible = false
  113.     playerTab.Visible = true
  114.     mainTabButton.BackgroundColor3 = Color3.fromRGB(50,50,50)
  115.     playerTabButton.BackgroundColor3 = Color3.fromRGB(70,70,70)
  116. end)
  117.  
  118. ------------------------------------------------
  119. -- ABA MAIN: Scripts Personalizados (sem "Punch")
  120. ------------------------------------------------
  121. local scrollingFrame = Instance.new("ScrollingFrame")
  122. scrollingFrame.Size = UDim2.new(1, -10, 1, -10)
  123. scrollingFrame.Position = UDim2.new(0, 5, 0, 5)
  124. scrollingFrame.BackgroundTransparency = 1
  125. scrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 250)
  126. scrollingFrame.ScrollBarThickness = 5
  127. scrollingFrame.Parent = mainTab
  128.  
  129. local listLayout = Instance.new("UIListLayout")
  130. listLayout.Padding = UDim.new(0, 5)
  131. listLayout.Parent = scrollingFrame
  132.  
  133. local function createScriptButton(buttonText, scriptUrl)
  134.     local btn = Instance.new("TextButton")
  135.     btn.Size = UDim2.new(1, -10, 0, 40)
  136.     btn.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  137.     btn.Text = buttonText
  138.     btn.TextColor3 = Color3.fromRGB(255,255,255)
  139.     btn.Font = Enum.Font.Gotham
  140.     btn.TextSize = 18
  141.     btn.Parent = scrollingFrame
  142.    
  143.     local btnCorner = Instance.new("UICorner")
  144.     btnCorner.CornerRadius = UDim.new(0, 8)
  145.     btnCorner.Parent = btn
  146.    
  147.     btn.MouseButton1Click:Connect(function()
  148.         loadstring(game:HttpGet(scriptUrl))()
  149.     end)
  150. end
  151.  
  152. createScriptButton("Infinite Yield", "https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source")
  153. createScriptButton("Nameless Admin", "https://raw.githubusercontent.com/FilteringEnabled/NamelessAdmin/main/Source")
  154. createScriptButton("Modifier Gui", "https://raw.githubusercontent.com/GhostPlayer352/Test4/main/Modifier%20Gui")
  155. createScriptButton("Portal", "https://raw.githubusercontent.com/GhostPlayer352/Test4/main/Portal")
  156. createScriptButton("Fly", "https://raw.githubusercontent.com/XNEOFF/FlyGuiV3/main/FlyGuiV3.txt")
  157.  
  158. ------------------------------------------------
  159. -- ABA PLAYER: Configurações do Player e Toggles
  160. ------------------------------------------------
  161. local playerSettingsLabel = Instance.new("TextLabel")
  162. playerSettingsLabel.Size = UDim2.new(1, 0, 0, 30)
  163. playerSettingsLabel.Position = UDim2.new(0, 5, 0, 5)
  164. playerSettingsLabel.BackgroundTransparency = 1
  165. playerSettingsLabel.Text = "Player Settings"
  166. playerSettingsLabel.TextColor3 = Color3.fromRGB(255,255,255)
  167. playerSettingsLabel.Font = Enum.Font.GothamBold
  168. playerSettingsLabel.TextSize = 20
  169. playerSettingsLabel.Parent = playerTab
  170.  
  171. -- WalkSpeed e JumpPower
  172. local speedLabel = Instance.new("TextLabel")
  173. speedLabel.Size = UDim2.new(0, 100, 0, 25)
  174. speedLabel.Position = UDim2.new(0, 5, 0, 45)
  175. speedLabel.BackgroundTransparency = 1
  176. speedLabel.Text = "WalkSpeed:"
  177. speedLabel.TextColor3 = Color3.fromRGB(255,255,255)
  178. speedLabel.Font = Enum.Font.Gotham
  179. speedLabel.TextSize = 18
  180. speedLabel.Parent = playerTab
  181.  
  182. local speedBox = Instance.new("TextBox")
  183. speedBox.Size = UDim2.new(0, 100, 0, 25)
  184. speedBox.Position = UDim2.new(0, 110, 0, 45)
  185. speedBox.BackgroundColor3 = Color3.fromRGB(45,45,45)
  186. speedBox.Text = "16"
  187. speedBox.TextColor3 = Color3.fromRGB(255,255,255)
  188. speedBox.Font = Enum.Font.Gotham
  189. speedBox.TextSize = 18
  190. speedBox.ClearTextOnFocus = false
  191. speedBox.Parent = playerTab
  192.  
  193. local jumpLabel = Instance.new("TextLabel")
  194. jumpLabel.Size = UDim2.new(0, 100, 0, 25)
  195. jumpLabel.Position = UDim2.new(0, 5, 0, 80)
  196. jumpLabel.BackgroundTransparency = 1
  197. jumpLabel.Text = "JumpPower:"
  198. jumpLabel.TextColor3 = Color3.fromRGB(255,255,255)
  199. jumpLabel.Font = Enum.Font.Gotham
  200. jumpLabel.TextSize = 18
  201. jumpLabel.Parent = playerTab
  202.  
  203. local jumpBox = Instance.new("TextBox")
  204. jumpBox.Size = UDim2.new(0, 100, 0, 25)
  205. jumpBox.Position = UDim2.new(0, 110, 0, 80)
  206. jumpBox.BackgroundColor3 = Color3.fromRGB(45,45,45)
  207. jumpBox.Text = "50"
  208. jumpBox.TextColor3 = Color3.fromRGB(255,255,255)
  209. jumpBox.Font = Enum.Font.Gotham
  210. jumpBox.TextSize = 18
  211. jumpBox.ClearTextOnFocus = false
  212. jumpBox.Parent = playerTab
  213.  
  214. local applyButton = Instance.new("TextButton")
  215. applyButton.Size = UDim2.new(0, 100, 0, 30)
  216. applyButton.Position = UDim2.new(0, 5, 0, 120)
  217. applyButton.BackgroundColor3 = Color3.fromRGB(70,70,70)
  218. applyButton.Text = "Apply"
  219. applyButton.TextColor3 = Color3.fromRGB(255,255,255)
  220. applyButton.Font = Enum.Font.GothamBold
  221. applyButton.TextSize = 18
  222. applyButton.Parent = playerTab
  223.  
  224. local applyCorner = Instance.new("UICorner")
  225. applyCorner.CornerRadius = UDim.new(0, 8)
  226. applyCorner.Parent = applyButton
  227.  
  228. applyButton.MouseButton1Click:Connect(function()
  229.     local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  230.     local humanoid = character:FindFirstChildOfClass("Humanoid")
  231.     if humanoid then
  232.         local newSpeed = tonumber(speedBox.Text) or 16
  233.         local newJump = tonumber(jumpBox.Text) or 50
  234.         humanoid.WalkSpeed = newSpeed
  235.         humanoid.JumpPower = newJump
  236.     end
  237. end)
  238.  
  239. local resetButton = Instance.new("TextButton")
  240. resetButton.Size = UDim2.new(0, 100, 0, 30)
  241. resetButton.Position = UDim2.new(0, 110, 0, 120)
  242. resetButton.BackgroundColor3 = Color3.fromRGB(70,70,70)
  243. resetButton.Text = "Reset"
  244. resetButton.TextColor3 = Color3.fromRGB(255,255,255)
  245. resetButton.Font = Enum.Font.GothamBold
  246. resetButton.TextSize = 18
  247. resetButton.Parent = playerTab
  248.  
  249. local resetCorner = Instance.new("UICorner")
  250. resetCorner.CornerRadius = UDim.new(0, 8)
  251. resetCorner.Parent = resetButton
  252.  
  253. resetButton.MouseButton1Click:Connect(function()
  254.     local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  255.     local humanoid = character:FindFirstChildOfClass("Humanoid")
  256.     if humanoid then
  257.         humanoid.WalkSpeed = 16
  258.         humanoid.JumpPower = 50
  259.         speedBox.Text = "16"
  260.         jumpBox.Text = "50"
  261.     end
  262. end)
  263.  
  264. ------------------------------------------------
  265. -- Toggles para Noclip, Infinite Jump e Airwalk
  266. ------------------------------------------------
  267. -- Noclip Toggle
  268. local noclipEnabled = false
  269. local noclipHeartbeat
  270. local noclipToggleButton = Instance.new("TextButton")
  271. noclipToggleButton.Size = UDim2.new(0, 100, 0, 30)
  272. noclipToggleButton.Position = UDim2.new(0, 5, 0, 170)
  273. noclipToggleButton.BackgroundColor3 = Color3.fromRGB(70,70,70)
  274. noclipToggleButton.Text = "Noclip: OFF"
  275. noclipToggleButton.TextColor3 = Color3.new(1,1,1)
  276. noclipToggleButton.Font = Enum.Font.GothamBold
  277. noclipToggleButton.TextSize = 18
  278. noclipToggleButton.Parent = playerTab
  279.  
  280. noclipToggleButton.MouseButton1Click:Connect(function()
  281.     noclipEnabled = not noclipEnabled
  282.     if noclipEnabled then
  283.         noclipToggleButton.Text = "Noclip: ON"
  284.         noclipHeartbeat = RunService.Heartbeat:Connect(function()
  285.             local character = LocalPlayer.Character
  286.             if character then
  287.                 for _, part in pairs(character:GetDescendants()) do
  288.                     if part:IsA("BasePart") then
  289.                         part.CanCollide = false
  290.                     end
  291.                 end
  292.             end
  293.         end)
  294.     else
  295.         noclipToggleButton.Text = "Noclip: OFF"
  296.         if noclipHeartbeat then
  297.             noclipHeartbeat:Disconnect()
  298.             noclipHeartbeat = nil
  299.         end
  300.     end
  301. end)
  302.  
  303. -- Infinite Jump Toggle
  304. local infiniteJumpEnabled = false
  305. local jumpConnection
  306. local infiniteJumpToggleButton = Instance.new("TextButton")
  307. infiniteJumpToggleButton.Size = UDim2.new(0, 140, 0, 30)
  308. infiniteJumpToggleButton.Position = UDim2.new(0, 110, 0, 170)
  309. infiniteJumpToggleButton.BackgroundColor3 = Color3.fromRGB(70,70,70)
  310. infiniteJumpToggleButton.Text = "Infinite Jump: OFF"
  311. infiniteJumpToggleButton.TextColor3 = Color3.new(1,1,1)
  312. infiniteJumpToggleButton.Font = Enum.Font.GothamBold
  313. infiniteJumpToggleButton.TextSize = 18
  314. infiniteJumpToggleButton.Parent = playerTab
  315.  
  316. infiniteJumpToggleButton.MouseButton1Click:Connect(function()
  317.     infiniteJumpEnabled = not infiniteJumpEnabled
  318.     if infiniteJumpEnabled then
  319.         infiniteJumpToggleButton.Text = "Infinite Jump: ON"
  320.         jumpConnection = UserInputService.InputBegan:Connect(function(input, gameProcessed)
  321.             if input.KeyCode == Enum.KeyCode.Space then
  322.                 local character = LocalPlayer.Character
  323.                 if character then
  324.                     local humanoid = character:FindFirstChildOfClass("Humanoid")
  325.                     if humanoid then
  326.                         humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
  327.                     end
  328.                 end
  329.             end
  330.         end)
  331.     else
  332.         infiniteJumpToggleButton.Text = "Infinite Jump: OFF"
  333.         if jumpConnection then
  334.             jumpConnection:Disconnect()
  335.             jumpConnection = nil
  336.         end
  337.     end
  338. end)
  339.  
  340. -- Airwalk Toggle (permite andar no ar sem cair)
  341. local airwalkEnabled = false
  342. local airwalkBV
  343. local airwalkToggleButton = Instance.new("TextButton")
  344. airwalkToggleButton.Size = UDim2.new(0, 100, 0, 30)
  345. airwalkToggleButton.Position = UDim2.new(0, 5, 0, 210)
  346. airwalkToggleButton.BackgroundColor3 = Color3.fromRGB(70,70,70)
  347. airwalkToggleButton.Text = "Airwalk: OFF"
  348. airwalkToggleButton.TextColor3 = Color3.new(1,1,1)
  349. airwalkToggleButton.Font = Enum.Font.GothamBold
  350. airwalkToggleButton.TextSize = 18
  351. airwalkToggleButton.Parent = playerTab
  352.  
  353. airwalkToggleButton.MouseButton1Click:Connect(function()
  354.     airwalkEnabled = not airwalkEnabled
  355.     local character = LocalPlayer.Character
  356.     local hrp = character and character:FindFirstChild("HumanoidRootPart")
  357.     if airwalkEnabled then
  358.         airwalkToggleButton.Text = "Airwalk: ON"
  359.         if hrp then
  360.             airwalkBV = Instance.new("BodyVelocity")
  361.             airwalkBV.Velocity = Vector3.new(0, 0, 0)
  362.             airwalkBV.MaxForce = Vector3.new(0, 400000, 0)
  363.             airwalkBV.Parent = hrp
  364.         end
  365.     else
  366.         airwalkToggleButton.Text = "Airwalk: OFF"
  367.         if airwalkBV then
  368.             airwalkBV:Destroy()
  369.             airwalkBV = nil
  370.         end
  371.     end
  372. end)
  373.  
  374. ------------------------------------------------
  375. -- Atalho para esconder/mostrar o painel (tecla "G")
  376. ------------------------------------------------
  377. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  378.     if not gameProcessed and input.KeyCode == Enum.KeyCode.G then
  379.         mainFrame.Visible = not mainFrame.Visible
  380.     end
  381. end)
  382.  
Add Comment
Please, Sign In to add comment