if (not game:IsLoaded()) then game.Loaded:Wait() end local start_tick = tick() local replicated_storage = game:GetService("ReplicatedStorage") local local_player = game:GetService("Players").LocalPlayer local workspace = game:GetService("Workspace") local animals = workspace:WaitForChild("Animals") local avaible_fonts = {} gui_config = { Color = Color3.fromRGB(255, 192, 203), Keybind = Enum.KeyCode.Insert, Assets = false, MinHeight = 100, MaxHeight = 600, InitialHeight = 400, MinWidth = 300, MaxWidth = 800, InitialWidth = 500 } for _, v in Enum.Font:GetEnumItems() do table.insert(avaible_fonts, v.Name) end local config = getfenv().gui_config or nil local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/nfpw/XXSCRIPT/refs/heads/main/Library/Module.lua"))() local window = library:CreateWindow(config, gethui()) local window_name = library:SetWindowName("Astolfo Ware | Made By @kylosilly | "..game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name) local tabs = { main = window:CreateTab("Main"), settings = window:CreateTab("Settings") } local sections = { farm_section = tabs.main:CreateSection("Farm Settings", "left"), gui_section = tabs.settings:CreateSection("Gui Settings", "right") } local keybind_viewer = library:CreateKeybindViewer({ Position = UDim2.new(0, 20, 0.60, -100), ShowToggleStates = true, ShowOnlyActive = false, Draggable = true }) local toggle_list = library:CreateToggleList({ Visible = true, Position = UDim2.new(0, 20, 0.5, -100), Title = "Current Config", ShowOnlyEnabled = true, ShowStatus = true, Draggable = true }) function notify(title, context, cooldown) window:Notify(title, context, cooldown) end local farm_toggle = sections.farm_section:CreateToggle("Auto Hunt Animals", false, function(value) library.flags.auto_farm = value if (library.flags.auto_farm) then repeat local tool = local_player.Character:FindFirstChildWhichIsA("Tool") if (tool and tool:FindFirstChild("CameraMinigamePosition")) then for _, v in animals:GetChildren() do if (not library.flags.auto_farm) then break end if (tool) and (not tool:FindFirstChild("CameraMinigamePosition")) then repeat task.wait() until (tool and tool:FindFirstChild("CameraMinigamePosition")) end if (v:GetAttribute("OwnerUserId") ~= 0) or (not v:GetAttribute("OwnerUserId") == local_player.UserId) then continue end replicated_storage:WaitForChild("RemoteEvents"):WaitForChild("FireGun"):FireServer(Vector3.new(Vector3.zero), Vector3.new(Vector3.zero), v.Name) task.wait(.25) replicated_storage:WaitForChild("RemoteEvents"):WaitForChild("LogOnboardingStep"):FireServer(4, "HitBullseye") task.wait(.25) replicated_storage:WaitForChild("RemoteEvents"):WaitForChild("FireGun"):FireServer() task.wait(.25) replicated_storage:WaitForChild("RemoteEvents"):WaitForChild("RunAnimalHitParticle"):FireServer("FramePerfect", v.Name) task.wait(.25) replicated_storage:WaitForChild("RemoteEvents"):WaitForChild("GAMinigameFinished"):FireServer(true) task.wait(.25) replicated_storage:WaitForChild("RemoteEvents"):WaitForChild("CaptureAnimal"):FireServer(tonumber(v.Name)) end end task.wait() until (not library.flags.auto_farm) end end) farm_toggle:CreateKeybind("K", function(key) end, "Toggle") sections.gui_section:CreateButton("Unload UI", function() library:Destroy() end) sections.gui_section:CreateDropdown("Select Font:", avaible_fonts, function(value) window:SetFont(value) end, "", false) sections.gui_section:CreateToggle("Enable Particles", false, function(value) library.flags.effects = value window:CreateParticles(library.flags.effects) end) sections.gui_section:CreateToggle("Show Keybinds/Toggle List", false, function(value) library.flags.show_keybinds = value keybind_viewer:SetVisible(value) toggle_list:SetVisible(value) end) local config_manager = loadstring(game:HttpGet("https://raw.githubusercontent.com/nfpw/XXSCRIPT/refs/heads/main/Library/ConfigManager.lua"))() config_manager:SetLibrary(library) config_manager:SetWindow(window) config_manager:SetFolder("Astolfo Ware") config_manager:BuildConfigSection(tabs.settings) config_manager:LoadAutoloadConfig() window:SetBackground("rbxassetid://9327507243") window:SetTileOffset(100) window:SetTileScale(1) window:SetBackgroundColor(Color3.fromRGB(40, 40, 40)) window:SetBackgroundTransparency(0) notify("Loaded", "Loaded script in "..string.format("%.2f", tick() - start_tick).." seconds", 10)