Pet Shop Not Working. Please help!

  1. What do you want to achieve?

I am trying to create a simple pet shop where a Player buys a pet and then it shows up in their inventory. If they buy 2, both will show in their inventory and they can switch between to two.

  1. What is the issue?

The GUI seems to be working, but my MainScript does not seem to be picking up the pet that is in the players inventory. When I try to equip the pet, nothing happens.

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I searched all developer hubs but none seem to have what I am looking for. I put “prints” everywhere but I can’t seem to connect the dots. I think the “equippedPet.Value” is not actually being populated. If I hard code it with a value, a pet will appear but it should be able to pick up the pets that are owned, no?

I know I’m close! please help!

Pet Shop File.rbxl (96.8 KB)