Now that I remember, there are 3 databases, money, cars and private servers.
Well, they are called only when the player enters/exits?
Yup game.Players.PlayerAdded & game.Players.PlayerRemoving everywhere
Is it a lot of people, does it have something to do with it? 7Million users.
No, restrictions apply separately for each server
I don’t even know what to do with the stress anymore lol I need cars to stop getting lost
Sorry my friend can u help me? :c please men
I’m sorry, but I have no idea why the data is lost, have you already installed DataStore2 on the cars?
No, is the same thing the cars have an normal datastore
Try installing DataStore2, perhaps data loss will be minimal or disappear altogether
Thats the problem, i already have datastore2 installed in the game but i don’t know how to migrate the info from the normal datastore to datastore2 the stress has been eating me up a bit and i’m afraid of doing something wrong and losing the data.
I gave you a ready-made script for money, try to do the same, only with cars, I believe in you. Let me know if something goes wrong.
ok, I will do it and show you the result, thank you very much indeed.
I definitely can’t, I get stuck
What exactly does not work and send what has already been done?
It works, but only the normal datastore, I have not been able to set up the datastore, the stress is blocking me.
(hey this question is off topic & I apologize if it sounds stupid)
but wouldn’t
datastore:SetAsync(arg1, arg2);
--arg1 = key
--arg2 = data
be more efficient if just arg1 = plr.UserId;
instead of parsing an arbitrary string?
arg1 = “player_” … plr.UserId; ← used currently
It doesn’t matter, you can use both.
Bro, I’m sorry, but the topic was created to help and not to write scripts instead of someone
I understand, I will try to do it anyway, thank you very much.