I know how to make double save, but not triple. I’ve looked for it on YouTube but can’t find one. Can someone help me?
01 | local datastore = game:GetService( "DataStoreService" ) |
02 | local ds 1 = datastore:GetDataStore( "GoldSaveSystem" ) |
03 | local ds 2 = datastore:GetDataStore( "ExpSaveSystem" ) |
04 | local ds 3 = datastore:GetDataStore( "LevelSaveSystem" ) |
05 |
06 | game.Players.PlayerAdded:connect( function (plr) |
07 | local folder = Instance.new( "Folder" , plr) |
08 | folder.Name = "leaderstats" |
09 | local Gold = Instance.new( "IntValue" , folder) |
10 | Gold.Name = "Gold" |
11 | local Exp = Instance.new( "IntValue" , folder) |
12 | Exp.Name = "Exp" |
13 | local Level = Instance.new( "IntValue" , folder) |
14 | Level.Name = "Level" |
15 |
this works it also creates the leaderstats as well