I need a script which saves your Inventory when you exit and re-enter the game. If someone can help, I would appreciate. Thanks.
COMMUNITY QUESTION
Inventory Save
1 answer
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)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
This is not enough information to help, and I cannot tell if this is a request for a full script or a help request.