I know how to make it the old way but I wanted to use the same inventory across different servers from the same place so I would apreciate if anyone could help me out on turning this on to the most recent version.
game.Players.PlayerAdded:connect(function(player) local inventory=player:LoadInstance("Inventory")or Instance.new("Model") inventory.Name="Inventory" inventory.Parent=player end) game.Players.PlayerRemoving:connect(function(player) player:SaveInstance("Inventory",player.Inventory) end)
I know how to work with data stores when its me creating the tables, not when im using something already created by roblox.