Advertisement
robloxboblox

Untitled

Apr 23rd, 2022
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. local path = game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets
  2. for i,v in ipairs(path:GetChildren()) do
  3. if v:IsA("TextButton") then
  4. local c = v:Clone()
  5. c.Parent = v.Parent
  6. if c:FindFirstChild("Equipped") then
  7. c.Equipped:Destroy()
  8. end
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement