Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can I save weapon unlocks on my game?

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!

1 comment

0

use datastoreservice

1 answer

✓ Accepted answer

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.

2 comments

0

Thank you so much This Works!!!

0

You are welcome

This discussion is preserved as it was. New answers, comments, and votes are closed.