helloiamhello

Roblox Click GUI v2

Oct 3rd, 2021 (edited)
1,376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 18.25 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3. -- Loaders:
  4.  
  5. if loaded then
  6.     error("it's already running!",0)
  7.     return
  8. end
  9.  
  10. pcall(function()
  11.     getgenv().loaded = true
  12.     game.StarterGui:SetCore("SendNotification", {
  13.         Title = "Loaded!";
  14.         Text = "Click GUI v2 has loaded! Enjoy!";
  15.         Icon = "rbxassetid://4914902918";
  16.         Duration = 2;
  17.     })
  18.     print("RECOMMENED GAMES: Squid Game")
  19. end)
  20.  
  21. local function getTypeCounter(type)
  22.     local result = 0
  23.     for _, object in pairs(workspace:GetDescendants()) do
  24.         if object:IsA(type) then
  25.             result = result + 1
  26.         end
  27.     end
  28.     return result
  29. end
  30. -- Instances:
  31.  
  32. local ExploitGUI = Instance.new("ScreenGui")
  33. local FirstFrame = Instance.new("Frame")
  34. local SecondFrame = Instance.new("Frame")
  35. local FireClick = Instance.new("TextButton")
  36. local RandomPitch = Instance.new("TextButton")
  37. local UnlockParts = Instance.new("TextButton")
  38. local TriggerTouch = Instance.new("TextButton")
  39. local ShowSelectionClick = Instance.new("TextButton")
  40. local MaxActive = Instance.new("TextButton")
  41. local ShowSelectionTouch = Instance.new("TextButton")
  42. local FireSound = Instance.new("TextButton")
  43. local KickMe = Instance.new("TextButton")
  44. local FirePause = Instance.new("TextButton")
  45. local ReasonText = Instance.new("TextBox")
  46. local InfoFrame = Instance.new("Frame")
  47. local Background = Instance.new("Frame")
  48. local ClickCountText = Instance.new("TextLabel")
  49. local TouchCountText = Instance.new("TextLabel")
  50. local DestroyGUI = Instance.new("TextButton")
  51. local TitleName = Instance.new("TextLabel")
  52. local SpamButton = Instance.new("TextButton")
  53. local RandomButton = Instance.new("TextButton")
  54. local SpamRandomButton = Instance.new("TextButton")
  55. local SpamInterval = Instance.new("TextBox")
  56. local PlayerListFrame = Instance.new("Frame")
  57. local ScrollingFrame = Instance.new("ScrollingFrame")
  58. local UI = Instance.new("UIListLayout")
  59. local PlrLabel = Instance.new("TextLabel")
  60. local script = Instance.new('LocalScript', PlayerListFrame)
  61.  
  62. local isClickShown = false
  63. local isTouchShown = false
  64. local isSpammingTouch = false
  65. local isSpammingRandomTouch = false
  66. local Click = click_detector or fireclickdetector
  67. local Touch = firetouchinterest
  68.  
  69. function ClrList()
  70.     for _, item in pairs(ScrollingFrame:GetChildren()) do
  71.         if item:IsA("TextLabel") then
  72.             item:Destroy()
  73.         end
  74.     end
  75. end
  76.    
  77. function FillList()
  78.     ClrList()
  79.     for _, Plr in pairs(game.Players:GetChildren()) do
  80.         if not ScrollingFrame:FindFirstChild(Plr.Name) then
  81.             local new = PlrLabel:Clone()
  82.             new.Name = Plr.Name
  83.             new.Text = Plr.Name
  84.             new.Parent = ScrollingFrame
  85.         end
  86.     end
  87.     ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, UI.AbsoluteContentSize.Y)
  88. end
  89.    
  90. FillList()
  91. game.Players.PlayerAdded:Connect(FillList)
  92. game.Players.PlayerRemoving:Connect(FillList)
  93.  
  94. --Properties:
  95.  
  96. ExploitGUI.Name = "ExploitGUI"
  97. ExploitGUI.Parent = game.CoreGui
  98.  
  99. FirstFrame.Name = "FirstFrame"
  100. FirstFrame.Parent = ExploitGUI
  101. FirstFrame.Active = true
  102. FirstFrame.BackgroundColor3 = Color3.fromRGB(0, 90, 247)
  103. FirstFrame.BackgroundTransparency = 0.25
  104. FirstFrame.BorderColor3 = Color3.fromRGB(27, 42, 53)
  105. FirstFrame.Position = UDim2.new(0, 566, 0, 262)
  106. FirstFrame.Size = UDim2.new(0, 310, 0, 180)
  107. FirstFrame.Draggable = true
  108.  
  109. SecondFrame.Name = "SecondFrame"
  110. SecondFrame.Parent = FirstFrame
  111. SecondFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  112. SecondFrame.BackgroundTransparency = 0.25
  113. SecondFrame.BorderColor3 = Color3.fromRGB(255, 255, 255)
  114. SecondFrame.Position = UDim2.new(0, 5, 0, 25)
  115. SecondFrame.Size = UDim2.new(0, 300, 0, 150)
  116.  
  117. FireClick.Name = "FireClick"
  118. FireClick.Parent = SecondFrame
  119. FireClick.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  120. FireClick.Size = UDim2.new(0, 65, 0, 20)
  121. FireClick.Font = Enum.Font.SourceSans
  122. FireClick.Text = "Fire Click Detectors"
  123. FireClick.TextColor3 = Color3.fromRGB(0, 0, 0)
  124. FireClick.TextScaled = true
  125. FireClick.TextSize = 14
  126. FireClick.TextWrapped = true
  127. FireClick.MouseButton1Click:connect(function()
  128.     for _, object in pairs(workspace:GetDescendants()) do
  129.         if object:IsA("ClickDetector") then
  130.             Click(object, 1)
  131.         end
  132.     end
  133. end)
  134.  
  135. RandomPitch.Name = "RandomPitch"
  136. RandomPitch.Parent = SecondFrame
  137. RandomPitch.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  138. RandomPitch.Position = UDim2.new(0, 75, 0, 0)
  139. RandomPitch.Size = UDim2.new(0, 65, 0, 20)
  140. RandomPitch.Font = Enum.Font.SourceSans
  141. RandomPitch.Text = "Random Pitch"
  142. RandomPitch.TextColor3 = Color3.fromRGB(0, 0, 0)
  143. RandomPitch.TextScaled = true
  144. RandomPitch.TextSize = 14
  145. RandomPitch.TextWrapped = true
  146. RandomPitch.MouseButton1Click:connect(function()
  147.     for i, object in pairs(game.Workspace:GetDescendants()) do
  148.         if object:IsA("Sound") then
  149.             object.PlaybackSpeed = math.random(1, 3);
  150.         end
  151.     end
  152. end)
  153.  
  154. UnlockParts.Name = "UnlockParts"
  155. UnlockParts.Parent = SecondFrame
  156. UnlockParts.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  157. UnlockParts.Position = UDim2.new(0, 75, 0, 30)
  158. UnlockParts.Size = UDim2.new(0, 65, 0, 20)
  159. UnlockParts.Font = Enum.Font.SourceSans
  160. UnlockParts.Text = "Unlock Parts"
  161. UnlockParts.TextColor3 = Color3.fromRGB(0, 0, 0)
  162. UnlockParts.TextScaled = true
  163. UnlockParts.TextSize = 14
  164. UnlockParts.TextWrapped = true
  165. UnlockParts.MouseButton1Click:connect(function()
  166.     function unlockEverything(obj)
  167.         for n,o in pairs(obj:GetChildren())do
  168.             if (o:IsA("BasePart")) then
  169.                 o.Locked = false
  170.             end
  171.             unlockEverything(o)
  172.         end
  173.     end
  174.     unlockEverything(workspace)
  175. end)
  176.  
  177. TriggerTouch.Name = "TriggerTouch"
  178. TriggerTouch.Parent = SecondFrame
  179. TriggerTouch.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  180. TriggerTouch.Position = UDim2.new(0, 0, 0, 30)
  181. TriggerTouch.Size = UDim2.new(0, 65, 0, 20)
  182. TriggerTouch.Font = Enum.Font.SourceSans
  183. TriggerTouch.Text = "Trigger Touch Interests"
  184. TriggerTouch.TextColor3 = Color3.fromRGB(0, 0, 0)
  185. TriggerTouch.TextScaled = true
  186. TriggerTouch.TextSize = 14
  187. TriggerTouch.TextWrapped = true
  188. TriggerTouch.MouseButton1Click:connect(function()
  189.     for _,v in pairs(workspace:GetDescendants()) do
  190.         if v:IsA("TouchTransmitter") then
  191.             Touch(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Parent, 0) --0 is touch
  192.             task.wait(.01)
  193.             Touch(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Parent, 1) -- 1 is untouch
  194.         end
  195.     end
  196. end)
  197.  
  198. ShowSelectionClick.Name = "ShowSelectionClick"
  199. ShowSelectionClick.Parent = SecondFrame
  200. ShowSelectionClick.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  201. ShowSelectionClick.Position = UDim2.new(0, 150, 0, 30)
  202. ShowSelectionClick.Size = UDim2.new(0, 65, 0, 20)
  203. ShowSelectionClick.Font = Enum.Font.SourceSans
  204. ShowSelectionClick.Text = "Show Selection Click"
  205. ShowSelectionClick.TextColor3 = Color3.fromRGB(0, 0, 0)
  206. ShowSelectionClick.TextScaled = true
  207. ShowSelectionClick.TextSize = 14
  208. ShowSelectionClick.TextWrapped = true
  209. ShowSelectionClick.MouseButton1Click:connect(function()
  210.     if not isClickShown then
  211.         for _, object in pairs(workspace:GetDescendants()) do
  212.             if object:IsA("ClickDetector") and object.parent:FindFirstChild("SelectionBox") == nil then
  213.                 local selectionbox = Instance.new("SelectionBox", object.parent)
  214.                 selectionbox.Adornee = object.parent
  215.             end
  216.         end
  217.         ShowSelectionClick.Text = "Hide Selection Click"
  218.         ShowSelectionClick.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  219.     else
  220.         for _, object in pairs(workspace:GetDescendants()) do
  221.             if object:IsA("ClickDetector") and object.parent:FindFirstChild("SelectionBox") ~= nil then
  222.                 object.parent:FindFirstChild("SelectionBox"):Destroy()
  223.             end
  224.         end
  225.         ShowSelectionClick.Text = "Show Selection Click"
  226.         ShowSelectionClick.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  227.     end
  228.     isClickShown = not isClickShown
  229. end)
  230.  
  231. MaxActive.Name = "MaxActive"
  232. MaxActive.Parent = SecondFrame
  233. MaxActive.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  234. MaxActive.Position = UDim2.new(0, 150, 0, 0)
  235. MaxActive.Size = UDim2.new(0, 65, 0, 20)
  236. MaxActive.Font = Enum.Font.SourceSans
  237. MaxActive.Text = "Max Activation"
  238. MaxActive.TextColor3 = Color3.fromRGB(0, 0, 0)
  239. MaxActive.TextScaled = true
  240. MaxActive.TextSize = 14
  241. MaxActive.TextWrapped = true
  242. MaxActive.MouseButton1Click:connect(function()
  243.     for _, object in pairs(workspace:GetDescendants()) do
  244.         if object:IsA("ClickDetector") and object then
  245.             object.MaxActivationDistance = 1000000
  246.         end
  247.     end
  248. end)
  249.  
  250. ShowSelectionTouch.Name = "ShowSelectionTouch"
  251. ShowSelectionTouch.Parent = SecondFrame
  252. ShowSelectionTouch.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  253. ShowSelectionTouch.Position = UDim2.new(0, 225, 0, 0)
  254. ShowSelectionTouch.Size = UDim2.new(0, 65, 0, 20)
  255. ShowSelectionTouch.Font = Enum.Font.SourceSans
  256. ShowSelectionTouch.Text = "Show Selection Touch"
  257. ShowSelectionTouch.TextColor3 = Color3.fromRGB(0, 0, 0)
  258. ShowSelectionTouch.TextScaled = true
  259. ShowSelectionTouch.TextSize = 14
  260. ShowSelectionTouch.TextWrapped = true
  261. ShowSelectionTouch.MouseButton1Click:connect(function()
  262.     if not isTouchShown then
  263.         for _, object in pairs(workspace:GetDescendants()) do
  264.             if object:IsA("TouchTransmitter") and object.parent:FindFirstChild("SelectionBox") == nil then
  265.                 local selectionbox = Instance.new("SelectionBox", object.parent)
  266.                 selectionbox.Adornee = object.parent
  267.             end
  268.         end
  269.         ShowSelectionTouch.Text = "Hide Selection Touch"
  270.         ShowSelectionTouch.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  271.     else
  272.         for _, object in pairs(workspace:GetDescendants()) do
  273.             if object:IsA("TouchTransmitter") and object.parent:FindFirstChild("SelectionBox") ~= nil then
  274.                 object.parent:FindFirstChild("SelectionBox"):Destroy()
  275.             end
  276.         end
  277.         ShowSelectionTouch.Text = "Show Selection Touch"
  278.         ShowSelectionTouch.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  279.     end
  280.     isTouchShown = not isTouchShown
  281. end)
  282.  
  283. FireSound.Name = "FireSound"
  284. FireSound.Parent = SecondFrame
  285. FireSound.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  286. FireSound.Position = UDim2.new(0, 225, 0, 60)
  287. FireSound.Size = UDim2.new(0, 65, 0, 20)
  288. FireSound.Font = Enum.Font.SourceSans
  289. FireSound.Text = "Fire All Sounds"
  290. FireSound.TextColor3 = Color3.fromRGB(0, 0, 0)
  291. FireSound.TextScaled = true
  292. FireSound.TextSize = 14
  293. FireSound.TextWrapped = true
  294. FireSound.MouseButton1Click:connect(function()
  295.     for _, object in pairs(workspace:GetDescendants()) do
  296.         if object.parent.Name == "play" and object:IsA("ClickDetector") then
  297.             Click(object, 1)
  298.         end
  299.     end
  300. end)
  301.  
  302. KickMe.Name = "KickMe"
  303. KickMe.Parent = SecondFrame
  304. KickMe.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  305. KickMe.Position = UDim2.new(0, 225, 0, 30)
  306. KickMe.Size = UDim2.new(0, 65, 0, 20)
  307. KickMe.Font = Enum.Font.SourceSans
  308. KickMe.Text = "Kick Yourself"
  309. KickMe.TextColor3 = Color3.fromRGB(0, 0, 0)
  310. KickMe.TextScaled = true
  311. KickMe.TextSize = 14
  312. KickMe.TextWrapped = true
  313. KickMe.MouseButton1Click:connect(function()
  314.     game.Players.LocalPlayer:Kick(ReasonText.Text)
  315. end)
  316.  
  317. FirePause.Name = "FirePause"
  318. FirePause.Parent = SecondFrame
  319. FirePause.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  320. FirePause.Position = UDim2.new(0, 150, 0, 60)
  321. FirePause.Size = UDim2.new(0, 65, 0, 20)
  322. FirePause.Font = Enum.Font.SourceSans
  323. FirePause.Text = "Pause Sounds"
  324. FirePause.TextColor3 = Color3.fromRGB(0, 0, 0)
  325. FirePause.TextScaled = true
  326. FirePause.TextSize = 14
  327. FirePause.TextWrapped = true
  328. FirePause.MouseButton1Click:connect(function()
  329.     for _, object in pairs(workspace:GetDescendants()) do
  330.         if object.parent.Name == "Stop" and object:IsA("ClickDetector") then
  331.             Click(object, 1)
  332.         end
  333.     end
  334. end)
  335.  
  336. ReasonText.Name = "ReasonText"
  337. ReasonText.Parent = SecondFrame
  338. ReasonText.BackgroundColor3 = Color3.fromRGB(165, 165, 165)
  339. ReasonText.Position = UDim2.new(0, 0, 0, 60)
  340. ReasonText.Size = UDim2.new(0, 140, 0, 20)
  341. ReasonText.Font = Enum.Font.SourceSans
  342. ReasonText.PlaceholderColor3 = Color3.fromRGB(103, 103, 103)
  343. ReasonText.PlaceholderText = "Reason Here"
  344. ReasonText.Text = ""
  345. ReasonText.TextColor3 = Color3.fromRGB(0, 0, 0)
  346. ReasonText.TextSize = 14
  347.  
  348. InfoFrame.Name = "InfoFrame"
  349. InfoFrame.Parent = SecondFrame
  350. InfoFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
  351. InfoFrame.BackgroundTransparency = 0.25
  352. InfoFrame.Position = UDim2.new(0, 45, 0, 160)
  353. InfoFrame.Size = UDim2.new(0, 220, 0, 50)
  354.  
  355. Background.Name = "Background"
  356. Background.Parent = InfoFrame
  357. Background.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  358. Background.BackgroundTransparency = 0.25
  359. Background.Position = UDim2.new(0, 5, 0, 5)
  360. Background.Size = UDim2.new(0, 210, 0, 40)
  361.  
  362. ClickCountText.Name = "ClickCountText"
  363. ClickCountText.Parent = Background
  364. ClickCountText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  365. ClickCountText.BackgroundTransparency = 1
  366. ClickCountText.Size = UDim2.new(0, 200, 0, 17)
  367. ClickCountText.Font = Enum.Font.SourceSans
  368. ClickCountText.Text = "Clickable Count: " .. getTypeCounter("ClickDetector")
  369. ClickCountText.TextColor3 = Color3.fromRGB(0, 0, 0)
  370. ClickCountText.TextSize = 14
  371. ClickCountText.TextXAlignment = Enum.TextXAlignment.Left
  372.  
  373. TouchCountText.Name = "TouchCountText"
  374. TouchCountText.Parent = Background
  375. TouchCountText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  376. TouchCountText.BackgroundTransparency = 1
  377. TouchCountText.Position = UDim2.new(0, 0, 0, 20)
  378. TouchCountText.Size = UDim2.new(0, 200, 0, 17)
  379. TouchCountText.Font = Enum.Font.SourceSans
  380. TouchCountText.Text = "Touchable Count: " .. getTypeCounter("TouchTransmitter")
  381. TouchCountText.TextColor3 = Color3.fromRGB(0, 0, 0)
  382. TouchCountText.TextSize = 14
  383. TouchCountText.TextXAlignment = Enum.TextXAlignment.Left
  384.  
  385. DestroyGUI.Name = "DestroyGUI"
  386. DestroyGUI.Parent = SecondFrame
  387. DestroyGUI.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  388. DestroyGUI.Position = UDim2.new(0, 280, 0, -25)
  389. DestroyGUI.Size = UDim2.new(0, 20, 0, 20)
  390. DestroyGUI.Font = Enum.Font.SourceSans
  391. DestroyGUI.Text = "X"
  392. DestroyGUI.TextColor3 = Color3.fromRGB(0, 0, 0)
  393. DestroyGUI.TextSize = 18
  394. DestroyGUI.MouseButton1Click:connect(function()
  395.     ExploitGUI:Destroy()
  396.     pcall(function()
  397.         getgenv().loaded = false
  398.     end)
  399. end)
  400.  
  401. TitleName.Name = "TitleName"
  402. TitleName.Parent = SecondFrame
  403. TitleName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  404. TitleName.BackgroundTransparency = 1
  405. TitleName.BorderColor3 = Color3.fromRGB(255, 85, 0)
  406. TitleName.Position = UDim2.new(0, 50, 0, -37)
  407. TitleName.Size = UDim2.new(0, 200, 0, 50)
  408. TitleName.Font = Enum.Font.SourceSans
  409. TitleName.Text = "Click GUI Exploit v2 By Friskshift"
  410. TitleName.TextColor3 = Color3.fromRGB(255, 255, 255)
  411. TitleName.TextSize = 20
  412.  
  413. SpamButton.Name = "SpamButton"
  414. SpamButton.Parent = SecondFrame
  415. SpamButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  416. SpamButton.Position = UDim2.new(0, 0, 0, 90)
  417. SpamButton.Size = UDim2.new(0, 65, 0, 20)
  418. SpamButton.Font = Enum.Font.SourceSans
  419. SpamButton.Text = "Spam Button"
  420. SpamButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  421. SpamButton.TextScaled = true
  422. SpamButton.TextSize = 14
  423. SpamButton.TextWrapped = true
  424. SpamButton.MouseButton1Click:connect(function()
  425.     if not isSpammingTouch then
  426.         SpamButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  427.     else
  428.         SpamButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  429.     end
  430.     isSpammingTouch = not isSpammingTouch
  431.     while isSpammingTouch do
  432.         for _, object in pairs(workspace:GetDescendants()) do
  433.             if object.parent.Name == "play" and object:IsA("ClickDetector") then
  434.                 Click(object, 1)
  435.             end
  436.         end
  437.         wait(tonumber(SpamInterval.Text))
  438.     end
  439. end)
  440.  
  441. SpamInterval.Name = "SpamInterval"
  442. SpamInterval.Parent = SecondFrame
  443. SpamInterval.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  444. SpamInterval.Position = UDim2.new(0, 75, 0, 90)
  445. SpamInterval.Size = UDim2.new(0, 65, 0, 20)
  446. SpamInterval.Font = Enum.Font.SourceSans
  447. SpamInterval.PlaceholderText = "Interval"
  448. SpamInterval.Text = ""
  449. SpamInterval.TextColor3 = Color3.fromRGB(0, 0, 0)
  450. SpamInterval.TextSize = 14
  451.  
  452. PlayerListFrame.Name = "PlayerListFrame"
  453. PlayerListFrame.Parent = FirstFrame
  454. PlayerListFrame.BackgroundColor3 = Color3.fromRGB(0, 90, 247)
  455. PlayerListFrame.BackgroundTransparency = 0.25
  456. PlayerListFrame.Position = UDim2.new(0, -165, 0, 0)
  457. PlayerListFrame.Size = UDim2.new(0, 160, 0, 180)
  458.  
  459. ScrollingFrame.Parent = PlayerListFrame
  460. ScrollingFrame.Active = true
  461. ScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  462. ScrollingFrame.BackgroundTransparency = 0.25
  463. ScrollingFrame.BorderSizePixel = 0
  464. ScrollingFrame.Position = UDim2.new(0, 5, 0, 5)
  465. ScrollingFrame.Size = UDim2.new(0, 150, 0, 170)
  466. ScrollingFrame.ScrollBarThickness = 10
  467.  
  468. RandomButton.Name = "RandomButton"
  469. RandomButton.Parent = SecondFrame
  470. RandomButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  471. RandomButton.Position = UDim2.new(0, 150, 0, 90)
  472. RandomButton.Size = UDim2.new(0, 65, 0, 20)
  473. RandomButton.Font = Enum.Font.SourceSans
  474. RandomButton.Text = "Random Button"
  475. RandomButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  476. RandomButton.TextScaled = true
  477. RandomButton.TextSize = 14
  478. RandomButton.TextWrapped = true
  479. RandomButton.MouseButton1Click:connect(function()
  480.     for _, object in pairs(workspace:GetDescendants()) do
  481.         if object:IsA("ClickDetector") then
  482.             if math.random(1, 3) == 2 then
  483.                 Click(object, 1)
  484.             end
  485.         end
  486.     end
  487. end)
  488.  
  489. SpamRandomButton.Name = "FireSound"
  490. SpamRandomButton.Parent = SecondFrame
  491. SpamRandomButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  492. SpamRandomButton.Position = UDim2.new(0, 225, 0, 90)
  493. SpamRandomButton.Size = UDim2.new(0, 65, 0, 20)
  494. SpamRandomButton.Font = Enum.Font.SourceSans
  495. SpamRandomButton.Text = "Spam Random Buttons"
  496. SpamRandomButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  497. SpamRandomButton.TextScaled = true
  498. SpamRandomButton.TextSize = 14
  499. SpamRandomButton.TextWrapped = true
  500. SpamRandomButton.MouseButton1Click:connect(function()
  501.     if not isSpammingRandomTouch then
  502.         SpamRandomButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  503.     else
  504.         SpamRandomButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  505.     end
  506.     isSpammingRandomTouch = not isSpammingRandomTouch
  507.     while isSpammingRandomTouch do
  508.         for _, object in pairs(workspace:GetDescendants()) do
  509.             if object:IsA("ClickDetector") then
  510.                 if math.random(1, 3) == 2 then
  511.                     Click(object, 1)
  512.                 end
  513.             end
  514.         end
  515.         wait(tonumber(SpamInterval.Text))
  516.     end
  517. end)
  518.  
  519. UI.Name = "UI"
  520. UI.Parent = ScrollingFrame
  521. UI.SortOrder = Enum.SortOrder.LayoutOrder
  522.  
  523. PlrLabel.Name = "PlrLabel"
  524. PlrLabel.Parent = ExploitGUI.FirstFrame.PlayerListFrame.LocalScript
  525. PlrLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  526. PlrLabel.BackgroundTransparency = 1.000
  527. PlrLabel.Position = UDim2.new(-2.02874994, 0, 0.286111116, 0)
  528. PlrLabel.Size = UDim2.new(0, 150, 0, 20)
  529. PlrLabel.Font = Enum.Font.SourceSans
  530. PlrLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  531. PlrLabel.TextSize = 20
Add Comment
Please, Sign In to add comment