Ad
Log in to vote
1

How can I save weapon unlocks on my game?

Asked by
SIayec 7
9 months ago

I have Buttons that give you weapons. The Buttons cost money to unlock. How can I make it so that when you unlock the weapons they save and stay unlocked if you leave and rejoin?

thank you!

0
use datastoreservice Pupppy44 671 — 9mo

1 answer

Log in to vote
0
Answered by 9 months ago

You can use a datastore in a way that has a weapon unlocked value, either 1 or 0

Once the player joins, if the data store value is 1, they own the item. If not the value is 0 the player does not have it.

0
Thank you so much This Works!!! SIayec 7 — 9mo
0
You are welcome NathanBlox_Studios 212 — 9mo
Ad

Answer this question