From venuslock, 5 Months ago, written in Plain Text.
Embed
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  2. local Window = Library.CreateLib("Eg 1.0", "GrapeTheme")
  3. local Tab = Window:NewTab("Collect")
  4. local Section = Tab:NewSection("Coins")
  5.  
  6. local collectables
  7. for i,v in next,game.Workspace:GetChildren() do
  8.     if v:IsA("Model") and v.Name == "collectables" then
  9.         collectables = v
  10.         break
  11.     end
  12. end
  13.  
  14.  
  15. Section:NewToggle("Auto Collect", "Automatically collects all coins and eggs", function(state)
  16.     if state then
  17.         _G.collectMoney = true
  18.         while _G.collectMoney do
  19.             local torso = game.Players.LocalPlayer.Character.HumanoidRootPart -- reassign incase player dies
  20.             for i,v in pairs(collectables:GetDescendants()) do
  21.                 if v.Name == "TouchInterest" and v.Parent then
  22.                     firetouchinterest(torso, v.Parent, 0)
  23.                     firetouchinterest(torso, v.Parent, 1)
  24.                    
  25.                 end
  26.             end
  27.             wait(1)
  28.         end
  29.     else
  30.         _G.collectMoney = false
  31.     end
  32. end)
  33.