How To Make A Proximity Prompt Take Cash And Give You A Tool/Pet And You Can Save The Inventory/Tools

How To Make A Proximity Prompt Take Cash And Give You A Tool/Pet And You Can Save The Inventory/Tools ?

I Want To Make A Snowman Pet Where You Use A Proximity Prompt It Takes 25,000 Cash And Then Gives you the tool which is the pet. Also It Saves Upon Leaving.
How Do I Do This ?

The Cash Datastore Is Already Working And Set Up.

1 Like

It’s not okay to ask someone to write all the code for you without giving people some of the code you’ve written. However, there are tutorials on YouTube that show you how to make a pet game, for example, this video: How To Make An EGG HATCHING SYSTEM - Roblox Studio Scripting Tutorial - YouTube

1 Like

You can use proximity prompt Triggered event to activate a script which takes the cash from the player and puts a value with the pets name in a folder within the player, then use datastore to save the folder with pets as a table.