local Players = game:GetService("Players") local player = Players.LocalPlayer local screenGui = Instance.new("ScreenGui") screenGui.Name = "PetSelectorUI" screenGui.ResetOnSpawn = false screenGui.Parent = player:WaitForChild("PlayerGui") local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 260, 0, 210) mainFrame.Position = UDim2.new(0.5, -130, 0.5, -105) mainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = screenGui local uiCorner = Instance.new("UICorner") uiCorner.CornerRadius = UDim.new(0, 8) uiCorner.Parent = mainFrame local playerLabel = Instance.new("TextLabel") playerLabel.Size = UDim2.new(1, -40, 0, 25) playerLabel.Position = UDim2.new(0, 10, 0, 5) playerLabel.BackgroundTransparency = 1 playerLabel.Text = "Player: " .. player.Name playerLabel.TextColor3 = Color3.fromRGB(200, 200, 200) playerLabel.TextSize = 12 playerLabel.Font = Enum.Font.SourceSansBold playerLabel.TextXAlignment = Enum.TextXAlignment.Left playerLabel.Parent = mainFrame local closeButton = Instance.new("TextButton") closeButton.Size = UDim2.new(0, 25, 0, 25) closeButton.Position = UDim2.new(1, -30, 0, 5) closeButton.BackgroundColor3 = Color3.fromRGB(200, 50, 50) closeButton.Text = "X" closeButton.TextColor3 = Color3.fromRGB(255, 255, 255) closeButton.TextSize = 14 closeButton.Font = Enum.Font.SourceSansBold closeButton.Parent = mainFrame local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(0, 4) closeCorner.Parent = closeButton local scrollingFrame = Instance.new("ScrollingFrame") scrollingFrame.Size = UDim2.new(1, -20, 0, 100) scrollingFrame.Position = UDim2.new(0, 10, 0, 35) scrollingFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) scrollingFrame.BorderSizePixel = 0 scrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0) scrollingFrame.Parent = mainFrame local uiListLayout = Instance.new("UIListLayout") uiListLayout.SortOrder = Enum.SortOrder.LayoutOrder uiListLayout.Padding = UDim.new(0, 4) uiListLayout.Parent = scrollingFrame local startButton = Instance.new("TextButton") startButton.Size = UDim2.new(1, -20, 0, 40) startButton.Position = UDim2.new(0, 10, 0, 145) startButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255) startButton.Text = "Start (Apply to Selected Pet)" startButton.TextColor3 = Color3.fromRGB(255, 255, 255) startButton.TextSize = 14 startButton.Font = Enum.Font.SourceSansBold startButton.Parent = mainFrame local startCorner = Instance.new("UICorner") startCorner.CornerRadius = UDim.new(0, 6) startCorner.Parent = startButton local selectedPet = nil local function refreshPetList() for _, child in ipairs(scrollingFrame:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end pcall(function() local petsFolder = player:FindFirstChild("petsFolder") if petsFolder and petsFolder:FindFirstChild("Unique") then local uniqueFolder = petsFolder.Unique local children = uniqueFolder:GetChildren() scrollingFrame.CanvasSize = UDim2.new(0, 0, 0, #children * 30) for index, pet in ipairs(children) do local petButton = Instance.new("TextButton") petButton.Size = UDim2.new(1, -5, 0, 26) petButton.BackgroundColor3 = Color3.fromRGB(45, 45, 45) petButton.TextColor3 = Color3.fromRGB(255, 255, 255) petButton.TextSize = 12 petButton.Font = Enum.Font.SourceSans local nameVal = pet:FindFirstChild("chosenName") or pet:FindFirstChild("Name") local petDisplayName = (nameVal and nameVal.Value) or pet.Name petButton.Text = " #" .. index .. " - " .. tostring(petDisplayName) petButton.Parent = scrollingFrame petButton.MouseButton1Click:Connect(function() selectedPet = pet startButton.Text = "Selected: #" .. index end) end end end) end refreshPetList() startButton.MouseButton1Click:Connect(function() pcall(function() if selectedPet then local lvl = selectedPet:FindFirstChild("level") if lvl and lvl:IsA("ValueBase") then lvl.Value = 20 end local exp = selectedPet:FindFirstChild("exp") if exp and exp:IsA("ValueBase") then exp.Value = 1250 end local perks = selectedPet:FindFirstChild("perksFolder") if perks then local str = perks:FindFirstChild("strength") if str and str:IsA("ValueBase") then str.Value = 10000000 end local dur = perks:FindFirstChild("durability") if dur and dur:IsA("ValueBase") then dur.Value = 10000000 end local agi = perks:FindFirstChild("agility") if agi and agi:IsA("ValueBase") then agi.Value = 10000000 end end end end) end) closeButton.MouseButton1Click:Connect(function() screenGui:Destroy() end)