My DataStore isn't working but it gives no error. Can someone help? thanks.
Hey kids. this is a predicament. someone help pls thx.
01 | ds = game:GetService( "DataStoreService" ):GetDataStore( "RM" ) |
03 | game.Players.PlayerAdded:connect( function (player) |
04 | local key = "id-" .. player.userId |
05 | local gs = ds:GetAsync(key) |
07 | local gui = player.PlayerGui:WaitForChild( "Inventory" ) |
08 | local frame = gui:WaitForChild( "Inventry" ) |
09 | local list 1 = frame:WaitForChild( "list" ):WaitForChild( "1" ) |
10 | table.insert(tbl, list 1. Image.Texture.Value) |
11 | table.insert(tbl, list 1. Item.Text) |
12 | table.insert(tbl, list 1. Qty.qty.Value) |
23 | game.Players.PlayerRemoving:connect( function (player) |
24 | local key = "id-" .. player.userId |