Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Load/Save Instance? (Data Persistence help) IMPORTANT!!!!

Asked by 8 years ago

So far im learning how to save instances..... I've tryed a few scripts as there are not many out there to use. I understand how to load, and save, But not how to by pass the load if a player is new... I've tryed if Player:SaveInstance("Model", game.Workspace.Model) == nil then and many others...

so what im saying is how do you bypass the load function if the player is new?

1 answer

Log in to vote
0
Answered by 6 years ago

Use Datastore, Make something in it like PlayerJoinedBefore = true. If it does not exist it will return nil or false. Here is some documentation on datastore. http://wiki.roblox.com/index.php?title=Data_store I hope it helps!

Ad

Answer this question