InPhulze
(phulze)
December 1, 2020, 1:06am
#1
I decided to reword this because it seems very confusing after rereading.
In my game, you buy boats. What i am trying to acheive is that when a player buys a boat, they can freely respawn it in after they rejoin.
what i tried, is when they buy the boat, they get a boolvalue that is true. I am figuring i can do
if Player.BoolValue == true then
β stuff
But how would i SAVE the boolvalue?
1 Like
riles0829
(riles)
December 1, 2020, 1:20am
#2
Check out this link. It teaches you all about the DataStoreService and how to use it. Itβs pretty basic, but it should be good enough for what you are trying to do. Feel free to ask any questions if you have any.
2 Likes
InPhulze
(phulze)
December 1, 2020, 1:21am
#3
Thanks. I realize now that this shouldnt be too hard, as i am saving a boolvalue, so i can pretty much use my ordinary datastore script. Thanks rile
2 Likes
yup just like saving a number value, and if you are going to make a If statement then do like this, if Player.BoolValue.Value == true then
1 Like