local WindUI = loadstring(game:HttpGet("https://raw.githubusercontent.com/Footagesus/WindUI/main/dist/main.lua"))()
local Window = WindUI:CreateWindow({
Title = "CATCH AND TAME HUB",
Folder = "CatchAndTame",
Icon = "solar:brain-bold",
HideSearchBar = true
})
local isVisible = true
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.RightShift then
isVisible = not isVisible
Window:SetVisible(isVisible)
end
end)
local player = game:GetService("Players").LocalPlayer
getgenv().AutoCollect = false
local function collectAll()
local r = game:GetService("ReplicatedStorage").Remotes.collectPetCash
local pens = workspace:FindFirstChild("PlayerPens")
if pens and pens:FindFirstChild("1") then
local pets = pens["1"]:FindFirstChild("Pets")
if pets then
for _, p in pairs(pets:GetChildren()) do
if p:IsA("Model") then
r:FireServer(p:GetAttribute("PetId") or p.Name)
end
task.wait(0.03)
end
end
end
end
local Tabs = {
Menu = Window:Tab({ Title = "MAIN", Icon = "solar:home-bold" })
}
local section = Tabs.Menu:Section({ Title = "Cash", Icon = "solar:dollar-bold", Opened = true })
section:Button({
Title = "Auto Cash",
Desc = "Auto collect money from your pets",
Icon = "solar:hand-dollar-bold",
Color = Color3.fromRGB(52, 199, 89),
Justify = "Center",
Callback = function()
collectAll()
WindUI:Notify({ Title = "Auto Cash", Content = "Collected from all pets", Duration = 2 })
end
})
section:Space()
section:Toggle({
Title = "Auto Collect",
Desc = "Auto Collect cash for you every 30 seconds",
Icon = "solar:automatic-bold",
Value = false,
Callback = function(state)
getgenv().AutoCollect = state
if state then
WindUI:Notify({ Title = "Auto Collect", Content = "STARTED - Collects every 30s", Duration = 2 })
task.spawn(function()
while getgenv().AutoCollect do
pcall(collectAll)
task.wait(30)
end
end)
else
WindUI:Notify({ Title = "Auto Collect", Content = "STOPPED", Duration = 2 })
end
end
})
section:Space()
section:Space()
section:Section({ Title = "Info", TextSize = 14 })
section:Label({ Title = "Collects cash from PlayerPens[1].Pets" })
section:Label({ Title = "Auto Collect runs every 30 seconds" })
section:Label({ Title = "Right Shift to open/close GUI" })
local InfoTab = Window:Tab({ Title = "INFO", Icon = "solar:info-square-bold" })
local InfoSec = InfoTab:Section({ Title = "CATCH AND TAME HUB", Opened = true })
InfoSec:Label({ Title = "FEATURES" })
InfoSec:Label({ Title = "Auto Cash: One click collect" })
InfoSec:Label({ Title = "Auto Collect: Every 30 sec" })
InfoSec:Label({ Title = "Works with PlayerPens[1].Pets" })
InfoSec:Space()
InfoSec:Label({ Title = "CONTROLS" })
InfoSec:Label({ Title = "Right Shift to toggle GUI" })
InfoSec:Label({ Title = "Auto Cash button" })
InfoSec:Label({ Title = "Auto Collect toggle" })
InfoSec:Space()
InfoSec:Label({ Title = "CREDITS" })
InfoSec:Label({ Title = "Game: Catch And Tame" })
InfoSec:Label({ Title = "Discord: discord-baranqqs" })
InfoTab:Space()
InfoTab:Button({
Title = "DESTROY GUI",
Color = Color3.fromRGB(239, 79, 29),
Justify = "Center",
Callback = function()
Window:Destroy()
end
})
WindUI:Notify({ Title = "CATCH AND TAME HUB", Content = "Loaded | Right Shift to toggle", Duration = 3 })
Comments
i will change code after @Moligrafi Upload it to Triangle loader
Wanna collab