Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local path = game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets
- for i,v in ipairs(path:GetChildren()) do
- if v:IsA("TextButton") then
- local c = v:Clone()
- c.Parent = v.Parent
- if c:FindFirstChild("Equipped") then
- c.Equipped:Destroy()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement