Run it
Copy the script and paste it into your executor.
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
local Window = Library.CreateLib("Hat Simulator", "DarkTheme")
local Tab = Window:NewTab("Home")
local Section = Tab:NewSection("yes")
Section:NewToggle("Autofarm Hat", "ToggleInfo", function(state)
if state then
_G.loop = true
while _G.loop == true do wait()
game:GetService("ReplicatedStorage").Wear:FireServer()
end
else
_G.loop = false
while _G.loop == true do wait()
print()
)
Section:(, , ()
:().Sell:()
()
)
Section:(, , (state)
state
.loop =
.loop == ()
:().Sell:()
.loop =
.loop == ()
()
)
Section:(, , ()
:().Wear:()
()
)Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com.
k