Advertisement
2AreYouMental110

color block auto get pumpkins gui

Nov 11th, 2021
1,355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.51 KB | None | 0 0
  1. getgenv().pumpkins = false
  2.  
  3. wait()
  4. for i, v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  5.     if v.Name == "BanBehavior" and v.Parent then
  6.         game.Players.LocalPlayer.Character.BanBehavior:Destroy()
  7.     else
  8.         if v.Name == "CheckCheat" and v.Parent then
  9.             game.Players.LocalPlayer.Character.CheckCheat:Destroy()
  10.         end
  11.     end
  12. end
  13. print("done")
  14. wait()
  15.  
  16. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua')))()
  17. local w = library:CreateWindow("color block")
  18. local a = w:CreateFolder("pumpkin event")
  19. local b = w:CreateFolder("other helpful stuff")
  20.  
  21. a:Toggle("auto collect pumpkins",function(bool)
  22.     getgenv().autopumpkins = bool
  23.     print(on)
  24.     if bool then
  25.         pumpkins()
  26.     end
  27. end)
  28.  
  29. b:Button("infinite yield",function()
  30.     loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))()
  31. end)
  32.  
  33.  
  34. function pumpkins()
  35.     spawn(function()
  36.         while getgenv().autopumpkins == true do
  37.             local player = game.Players.LocalPlayer.Character.HumanoidRootPart
  38.             for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  39.                 if v.Name == "TouchInterest" and v.Parent.Name == "Pumpkin" then
  40.                     firetouchinterest(player, v.Parent, 0)
  41.                     wait()
  42.                     firetouchinterest(player, v.Parent, 1)
  43.                     wait()
  44.                 end
  45.             end
  46.         end
  47.     end)
  48. end
  49.  
  50.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement