How to make a saving shop?

Hey, i need to make a shop for my game, but i don’t know how to make stuff save, can anyone help me out?

Basically, i am making a shop where you can buy Tool Skins, Death Effects and Abilities, but i don’t know how to make them save, can anyone help me please?

You can use a data store tutorial, and just make more values parented to leaderstats.

That doesn’t help me a lot, you just said what i need to do and now how.

Sorry, it says in the rules you can’t write whole scripts for people :man_shrugging:
All I can do is tell you how to go about it.

1 Like

Yeah i wasn’t asking for a full script, just how i can do the stuff you said.

Just repeat making values, then as well as the main one save the other values too.

So do i just make a normal datastore leaderboard and make a value for each item?

But making that i would have to use BoolValues because i can’t use a numer/int value for true or false

1 Like

Try it out first, I’m very not an expert on datastores and I’ve never really done much of a shop. Thats just how I would try doing it first.
Maybe AlvinBlox has a better idea of what to do lol https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwiHt5aQ6c7tAhWH_J4KHfNJBswQtwIwCHoECAEQAg&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DPgiVsm913Es&usg=AOvVaw1GYd_fXaJaMuYSgliZnMW0

I don’t have much problem doing the datastore itself, i just need to know how to make the shop part, as i don’t know how to save the values, should i use boolvalues then?

You should do some research and look into previously asked questions similar to yours. There are a lot of available resources such as tutorials, devforum, etc. that you can utilise.

Here’s a tutorial by Incapaz which should help.

Furthermore,