How do I make a pet be given when the game pass is bought

I was wondering, I want to make a gamepass where each player that buys it gets a pet (its the same pet for everyone + I placed it in replicated storage as a part), and it follows each player around and if the player teleports/resets it teleports to him too and it doesn’t collide with other parts in the game. How do I make such a thing

check if player has gamepass using MarketPlaceService
if they do, clone it, and put in workspace, can rename it to playername’s pet, or something

In the pet, just have a script running to check if the player moved, and move the pet relative to their location

Just a crude example

1 Like

Check if they have bought the pass
Add all the regular pet stats you need it to have
Add it to a save, (assuming this as all pet games save pets)
That’s it really. Just a buyable pet.

1 Like