Advertisement
Nuggetthe1

GOD GUI 👑 V2

May 24th, 2025
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.44 KB | Source Code | 0 0
  1. local Players = game:GetService("Players")
  2. local LocalPlayer = Players.LocalPlayer
  3. local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
  4.  
  5. -- ScreenGui setup
  6. local ScreenGui = Instance.new("ScreenGui", PlayerGui)
  7. ScreenGui.Name = "GodGui"
  8. ScreenGui.ResetOnSpawn = false
  9. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10.  
  11. -- Main Frame
  12. local PAGE1 = Instance.new("Frame")
  13. PAGE1.Name = "PAGE1"
  14. PAGE1.Parent = ScreenGui
  15. PAGE1.BackgroundColor3 = Color3.fromRGB(106, 102, 121)
  16. PAGE1.BorderSizePixel = 0
  17. PAGE1.Position = UDim2.new(0.2, 0, 0.2, 0)
  18. PAGE1.Size = UDim2.new(0, 325, 0, 450)
  19. PAGE1.Active = true
  20. PAGE1.Draggable = true
  21.  
  22. -- Rainbow effect
  23. coroutine.wrap(function()
  24.     while true do
  25.         local hue = tick() % 5 / 5
  26.         local color = Color3.fromHSV(hue, 1, 1)
  27.         PAGE1.BackgroundColor3 = color
  28.         wait(0.05)
  29.     end
  30. end)()
  31.  
  32. -- Title Label
  33. local TitleLabel = Instance.new("TextLabel", PAGE1)
  34. TitleLabel.BackgroundColor3 = Color3.fromRGB(81, 78, 93)
  35. TitleLabel.Position = UDim2.new(0.104, 0, 0.037, 0)
  36. TitleLabel.Size = UDim2.new(0, 257, 0, 50)
  37. TitleLabel.Font = Enum.Font.Arial
  38. TitleLabel.Text = "God Gui"
  39. TitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  40. TitleLabel.TextScaled = true
  41. TitleLabel.TextWrapped = true
  42.  
  43. -- FF Toggle Button
  44. local FFToggleButton = Instance.new("TextButton", PAGE1)
  45. FFToggleButton.BackgroundColor3 = Color3.fromRGB(64, 62, 74)
  46. FFToggleButton.Position = UDim2.new(0.05, 0, 0.43, 0)
  47. FFToggleButton.Size = UDim2.new(0, 120, 0, 50)
  48. FFToggleButton.Font = Enum.Font.SourceSans
  49. FFToggleButton.Text = "FF Toggle (off)"
  50. FFToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  51. FFToggleButton.TextScaled = true
  52. FFToggleButton.TextWrapped = true
  53.  
  54. local ffOn = false
  55.  
  56. FFToggleButton.MouseButton1Click:Connect(function()
  57.     ffOn = not ffOn
  58.     FFToggleButton.Text = ffOn and "FF Toggle (on)" or "FF Toggle (off)"
  59.     local cmdRemote = game:GetService("ReplicatedStorage").HDAdminClient.Signals.RequestCommand
  60.  
  61.     for _, player in ipairs(Players:GetPlayers()) do
  62.         if player ~= LocalPlayer then
  63.             if ffOn then
  64.                 cmdRemote:InvokeServer(":ff " .. player.Name)
  65.             else
  66.                 cmdRemote:InvokeServer(":unff " .. player.Name)
  67.             end
  68.         end
  69.     end
  70. end)
  71.  
  72. -- Anti-Abuse Toggle
  73. local AntiAbuseButton = Instance.new("TextButton", PAGE1)
  74. AntiAbuseButton.BackgroundColor3 = Color3.fromRGB(64, 62, 74)
  75. AntiAbuseButton.Position = UDim2.new(0.05, 0, 0.28, 0)
  76. AntiAbuseButton.Size = UDim2.new(0, 120, 0, 50)
  77. AntiAbuseButton.Font = Enum.Font.SourceSans
  78. AntiAbuseButton.Text = "Anti Abuse (off)"
  79. AntiAbuseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  80. AntiAbuseButton.TextScaled = true
  81. AntiAbuseButton.TextWrapped = true
  82.  
  83. local antiAbuse = false
  84.  
  85. AntiAbuseButton.MouseButton1Click:Connect(function()
  86.     antiAbuse = not antiAbuse
  87.     AntiAbuseButton.Text = antiAbuse and "Anti Abuse (on)" or "Anti Abuse (off)"
  88. end)
  89.  
  90. -- Listen to chat and auto reset abusers
  91. Players.PlayerChatted:Connect(function(player, message)
  92.     if antiAbuse and player ~= LocalPlayer then
  93.         local msg = message:lower()
  94.         if msg:match(":jail") or msg:match(":explode") or msg:match(":freeze") then
  95.             game:GetService("ReplicatedStorage").HDAdminClient.Signals.RequestCommand:InvokeServer(":reset " .. player.Name)
  96.         end
  97.     end
  98. end)
  99.  
  100. -- Name All Button
  101. local NameButton = Instance.new("TextButton", PAGE1)
  102. NameButton.BackgroundColor3 = Color3.fromRGB(64, 62, 74)
  103. NameButton.Position = UDim2.new(0.366, 0, 0.18, 0)
  104. NameButton.Size = UDim2.new(0, 87, 0, 50)
  105. NameButton.Font = Enum.Font.SourceSans
  106. NameButton.Text = "Peasent all👑"
  107. NameButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  108. NameButton.TextScaled = true
  109. NameButton.TextWrapped = true
  110.  
  111. NameButton.MouseButton1Down:Connect(function()
  112.     for _, player in ipairs(Players:GetPlayers()) do
  113.         game:GetService("ReplicatedStorage").HDAdminClient.Signals.RequestCommand:InvokeServer(":name " .. player.Name .. " 7S_TH34RCHY MY KING")
  114.     end
  115. end)
  116.  
  117. -- Explode All Button
  118. local ExplodeAllButton = Instance.new("TextButton", PAGE1)
  119. ExplodeAllButton.BackgroundColor3 = Color3.fromRGB(64, 62, 74)
  120. ExplodeAllButton.Position = UDim2.new(0.366, 0, 0.34, 0)
  121. ExplodeAllButton.Size = UDim2.new(0, 87, 0, 50)
  122. ExplodeAllButton.Font = Enum.Font.SourceSans
  123. ExplodeAllButton.Text = "explode all💥"
  124. ExplodeAllButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  125. ExplodeAllButton.TextScaled = true
  126. ExplodeAllButton.TextWrapped = true
  127.  
  128. ExplodeAllButton.MouseButton1Down:Connect(function()
  129.     for _, player in ipairs(Players:GetPlayers()) do
  130.         game:GetService("ReplicatedStorage").HDAdminClient.Signals.RequestCommand:InvokeServer(":explode " .. player.Name)
  131.     end
  132. end)
  133.  
  134. -- Jail All Button
  135. local JailAllButton = Instance.new("TextButton", PAGE1)
  136. JailAllButton.BackgroundColor3 = Color3.fromRGB(64, 62, 74)
  137. JailAllButton.Position = UDim2.new(0.366, 0, 0.50, 0)
  138. JailAllButton.Size = UDim2.new(0, 87, 0, 50)
  139. JailAllButton.Font = Enum.Font.SourceSans
  140. JailAllButton.Text = "jail all🔒"
  141. JailAllButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  142. JailAllButton.TextScaled = true
  143. JailAllButton.TextWrapped = true
  144.  
  145. JailAllButton.MouseButton1Down:Connect(function()
  146.     for _, player in ipairs(Players:GetPlayers()) do
  147.         game:GetService("ReplicatedStorage").HDAdminClient.Signals.RequestCommand:InvokeServer(":jail " .. player.Name)
  148.     end
  149. end)
  150.  
  151. -- Character All Button
  152. local CharAllButton = Instance.new("TextButton", PAGE1)
  153. CharAllButton.BackgroundColor3 = Color3.fromRGB(64, 62, 74)
  154. CharAllButton.Position = UDim2.new(0.366, 0, 0.66, 0)
  155. CharAllButton.Size = UDim2.new(0, 87, 0, 50)
  156. CharAllButton.Font = Enum.Font.SourceSans
  157. CharAllButton.Text = "character all👨‍🦲"
  158. CharAllButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  159. CharAllButton.TextScaled = true
  160. CharAllButton.TextWrapped = true
  161.  
  162. CharAllButton.MouseButton1Down:Connect(function()
  163.     for _, player in ipairs(Players:GetPlayers()) do
  164.         if player ~= LocalPlayer then
  165.             game:GetService("ReplicatedStorage").HDAdminClient.Signals.RequestCommand:InvokeServer(":char " .. player.Name .. " " .. LocalPlayer.Name)
  166.         end
  167.     end
  168. end)
  169.  
  170. -- Toggle Talk Loop Button
  171. local TalkToggleButton = Instance.new("TextButton", PAGE1)
  172. TalkToggleButton.BackgroundColor3 = Color3.fromRGB(64, 62, 74)
  173. TalkToggleButton.Position = UDim2.new(0.05, 0, 0.73, 0)
  174. TalkToggleButton.Size = UDim2.new(0, 120, 0, 50)
  175. TalkToggleButton.Font = Enum.Font.SourceSans
  176. TalkToggleButton.Text = "talk all peasant"
  177. TalkToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  178. TalkToggleButton.TextScaled = true
  179. TalkToggleButton.TextWrapped = true
  180.  
  181. local toggle = false
  182. local talkLoop
  183.  
  184. TalkToggleButton.MouseButton1Click:Connect(function()
  185.     toggle = not toggle
  186.     TalkToggleButton.Text = toggle and "stop talking" or "talk all peasant"
  187.     if toggle then
  188.         talkLoop = coroutine.create(function()
  189.             while toggle do
  190.                 for _, player in ipairs(Players:GetPlayers()) do
  191.                     game:GetService("ReplicatedStorage").HDAdminClient.Signals.RequestCommand:InvokeServer(":talk " .. player.Name .. " 7S_TH34RCHY MY KING")
  192.                 end
  193.                 wait(1.5)
  194.             end
  195.         end)
  196.         coroutine.resume(talkLoop)
  197.     end
  198. end)
  199.  
  200. -- Abuse Loop Toggle (existing)
  201. local AbuseToggleButton = Instance.new("TextButton", PAGE1)
  202. AbuseToggleButton.BackgroundColor3 = Color3.fromRGB(64, 62, 74)
  203. AbuseToggleButton.Position = UDim2.new(0.05, 0, 0.58, 0)
  204. AbuseToggleButton.Size = UDim2.new(0, 120, 0, 50)
  205. AbuseToggleButton.Font = Enum.Font.SourceSans
  206. AbuseToggleButton.Text = "abuse (off)"
  207. AbuseToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  208. AbuseToggleButton.TextScaled = true
  209. AbuseToggleButton.TextWrapped = true
  210.  
  211. local abusing = false
  212. local abuseLoop
  213.  
  214. AbuseToggleButton.MouseButton1Click:Connect(function()
  215.     abusing = not abusing
  216.     AbuseToggleButton.Text = abusing and "abuse (on)" or "abuse (off)"
  217.     if abusing then
  218.         abuseLoop = coroutine.create(function()
  219.             while abusing do
  220.                 for _, player in ipairs(Players:GetPlayers()) do
  221.                     if player ~= LocalPlayer then
  222.                         local cmdRemote = game:GetService("ReplicatedStorage").HDAdminClient.Signals.RequestCommand
  223.                         cmdRemote:InvokeServer(":explode " .. player.Name)
  224.                         cmdRemote:InvokeServer(":freeze " .. player.Name)
  225.                         cmdRemote:InvokeServer(":jail " .. player.Name)
  226.                     end
  227.                 end
  228.                 wait(2)
  229.             end
  230.         end)
  231.         coroutine.resume(abuseLoop)
  232.     end
  233. end)
  234.  
  235. -- Command Box
  236. local CmdBox = Instance.new("TextBox", PAGE1)
  237. CmdBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  238. CmdBox.Position = UDim2.new(0.05, 0, 0.85, 0)
  239. CmdBox.Size = UDim2.new(0.9, 0, 0.1, 0)
  240. CmdBox.Font = Enum.Font.SourceSans
  241. CmdBox.PlaceholderText = "cmdbox📩"
  242. CmdBox.Text = ""
  243. CmdBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  244. CmdBox.TextScaled = true
  245. CmdBox.TextWrapped = true
  246.  
  247. -- Custom Silent Command Execution
  248. CmdBox.FocusLost:Connect(function(enterPressed)
  249.     if enterPressed then
  250.         local msg = CmdBox.Text:lower()
  251.         local cmdRemote = game:GetService("ReplicatedStorage").HDAdminClient.Signals.RequestCommand
  252.         CmdBox.Text = ""
  253.  
  254.         if msg:match("^:") then
  255.             if msg:match("^:ff ") then
  256.                 cmdRemote:InvokeServer(msg)
  257.             elseif msg:match("^:unff ") then
  258.                 cmdRemote:InvokeServer(msg)
  259.             elseif msg:match("^:jail ") then
  260.                 cmdRemote:InvokeServer(msg)
  261.             elseif msg:match("^:explode ") then
  262.                 cmdRemote:InvokeServer(msg)
  263.             elseif msg:match("^:freeze ") then
  264.                 cmdRemote:InvokeServer(msg)
  265.             elseif msg:match("^:reset ") then
  266.                 cmdRemote:InvokeServer(msg)
  267.             else
  268.                 cmdRemote:InvokeServer(msg)
  269.             end
  270.         end
  271.     end
  272. end)
  273.  
  274. -- Bully Player Toggle Section
  275. local BullyTargetBox = Instance.new("TextBox", PAGE1)
  276. BullyTargetBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  277. BullyTargetBox.Position = UDim2.new(0.68, 0, 0.18, 0)
  278. BullyTargetBox.Size = UDim2.new(0, 90, 0, 40)
  279. BullyTargetBox.Font = Enum.Font.SourceSans
  280. BullyTargetBox.PlaceholderText = "target"
  281. BullyTargetBox.Text = ""
  282. BullyTargetBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  283. BullyTargetBox.TextScaled = true
  284. BullyTargetBox.TextWrapped = true
  285.  
  286. local BullyToggle = Instance.new("TextButton", PAGE1)
  287. BullyToggle.BackgroundColor3 = Color3.fromRGB(64, 62, 74)
  288. BullyToggle.Position = UDim2.new(0.68, 0, 0.32, 0)
  289. BullyToggle.Size = UDim2.new(0, 90, 0, 40)
  290. BullyToggle.Font = Enum.Font.SourceSans
  291. BullyToggle.Text = "bully (off)"
  292. BullyToggle.TextColor3 = Color3.fromRGB(255, 255, 255)
  293. BullyToggle.TextScaled = true
  294. BullyToggle.TextWrapped = true
  295.  
  296. local bullying = false
  297. local bullyLoop
  298.  
  299. BullyToggle.MouseButton1Click:Connect(function()
  300.     local target = BullyTargetBox.Text:lower()
  301.     if target == "" then return end
  302.  
  303.     bullying = not bullying
  304.     BullyToggle.Text = bullying and "bully (on)" or "bully (off)"
  305.  
  306.     if bullying then
  307.         bullyLoop = coroutine.create(function()
  308.             while bullying do
  309.                 for _, player in ipairs(Players:GetPlayers()) do
  310.                     if player.Name:lower():sub(1, #target) == target and player ~= LocalPlayer then
  311.                         local cmdRemote = game:GetService("ReplicatedStorage").HDAdminClient.Signals.RequestCommand
  312.                         cmdRemote:InvokeServer(":explode " .. player.Name)
  313.                         cmdRemote:InvokeServer(":jail " .. player.Name)
  314.                         cmdRemote:InvokeServer(":freeze " .. player.Name)
  315.                     end
  316.                 end
  317.                 wait(1.5)
  318.             end
  319.         end)
  320.         coroutine.resume(bullyLoop)
  321.     end
  322. end)
  323.  
  324. -- "Command All" Box
  325. local CommandAllBox = Instance.new("TextBox", PAGE1)
  326. CommandAllBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  327. CommandAllBox.Position = UDim2.new(0.05, 0, 0.92, 0)
  328. CommandAllBox.Size = UDim2.new(0.9, 0, 0.07, 0)
  329. CommandAllBox.Font = Enum.Font.SourceSans
  330. CommandAllBox.PlaceholderText = ":command all"
  331. CommandAllBox.Text = ""
  332. CommandAllBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  333. CommandAllBox.TextScaled = true
  334. CommandAllBox.TextWrapped = true
  335.  
  336. CommandAllBox.FocusLost:Connect(function(enterPressed)
  337.     if not enterPressed then return end
  338.     local input = CommandAllBox.Text
  339.     local lowered = input:lower()
  340.     CommandAllBox.Text = ""
  341.  
  342.     -- Check if it's a ":command all" style
  343.     local command, allKeyword = lowered:match("^:(%S+)%s+(all)$")
  344.     if command and allKeyword == "all" then
  345.         for _, player in ipairs(Players:GetPlayers()) do
  346.             if player ~= LocalPlayer then
  347.                 local fullCmd = ":" .. command .. " " .. player.Name
  348.                 game:GetService("ReplicatedStorage").HDAdminClient.Signals.RequestCommand:InvokeServer(fullCmd)
  349.             end
  350.         end
  351.     end
  352. end)
  353.  
  354. -- Prefix TextBox
  355. local PrefixBox = Instance.new("TextBox", PAGE1)
  356. PrefixBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  357. PrefixBox.Position = UDim2.new(0.68, 0, 0.73, 0)
  358. PrefixBox.Size = UDim2.new(0, 90, 0, 40)
  359. PrefixBox.Font = Enum.Font.SourceSans
  360. PrefixBox.PlaceholderText = "prefix"
  361. PrefixBox.Text = ":"
  362. PrefixBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  363. PrefixBox.TextScaled = true
  364. PrefixBox.TextWrapped = true
  365.  
  366. local currentPrefix = ":"
  367.  
  368. PrefixBox.FocusLost:Connect(function(enterPressed)
  369.     if enterPressed and PrefixBox.Text ~= "" then
  370.         currentPrefix = PrefixBox.Text
  371.     end
  372. end)
  373.  
  374. -- Timeout TextBox
  375. local TimeoutBox = Instance.new("TextBox", PAGE1)
  376. TimeoutBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  377. TimeoutBox.Position = UDim2.new(0.68, 0, 0.46, 0)
  378. TimeoutBox.Size = UDim2.new(0, 90, 0, 40)
  379. TimeoutBox.Font = Enum.Font.SourceSans
  380. TimeoutBox.PlaceholderText = "timeout"
  381. TimeoutBox.Text = ""
  382. TimeoutBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  383. TimeoutBox.TextScaled = true
  384. TimeoutBox.TextWrapped = true
  385.  
  386. -- Timeout Button
  387. local TimeoutButton = Instance.new("TextButton", PAGE1)
  388. TimeoutButton.BackgroundColor3 = Color3.fromRGB(64, 62, 74)
  389. TimeoutButton.Position = UDim2.new(0.68, 0, 0.58, 0)
  390. TimeoutButton.Size = UDim2.new(0, 90, 0, 40)
  391. TimeoutButton.Font = Enum.Font.SourceSans
  392. TimeoutButton.Text = "timeout"
  393. TimeoutButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  394. TimeoutButton.TextScaled = true
  395. TimeoutButton.TextWrapped = true
  396.  
  397. TimeoutButton.MouseButton1Click:Connect(function()
  398.     local input = TimeoutBox.Text:lower()
  399.     local cmdRemote = game:GetService("ReplicatedStorage").HDAdminClient.Signals.RequestCommand
  400.  
  401.     if input == "" then return end
  402.  
  403.     local targets = {}
  404.  
  405.     if input == "all" then
  406.         for _, player in ipairs(Players:GetPlayers()) do
  407.             if player ~= LocalPlayer then
  408.                 table.insert(targets, player)
  409.             end
  410.         end
  411.     else
  412.         for _, player in ipairs(Players:GetPlayers()) do
  413.             if player.Name:lower():sub(1, #input) == input then
  414.                 table.insert(targets, player)
  415.             end
  416.         end
  417.     end
  418.  
  419.     for _, player in ipairs(targets) do
  420.         cmdRemote:InvokeServer(":jail " .. player.Name)
  421.         cmdRemote:InvokeServer(":warp " .. player.Name)
  422.         cmdRemote:InvokeServer(":speed " .. player.Name .. " 0")
  423.         cmdRemote:InvokeServer(":freeze " .. player.Name)
  424.         cmdRemote:InvokeServer(":clown " .. player.Name)
  425.     end
  426. end)
  427.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement