Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
1

How can I save weapon unlocks on my game?

Asked by
SIayec 7
7 days 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 458 — 7d

1 answer

Log in to vote
0
Answered by 7 days 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 — 6d
0
You are welcome NathanBlox_Studios 100 — 6d
Ad

Answer this question