Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can anyone help me with a custom inventory system?

I am creating an inventory system it can contain custom tools not roblox tools.

Here is my script currently:

Inventories = {}
InventoryTemplate = {game.ReplicatedStorage.ItemTypes.Sword}

-- setting a player's inventory below
game.Players.PlayerAdded:connect(function(player)
	Inventories[player.Name] = InventoryTemplate
end)

I have no idea what to do now...

Thanks.

3 comments

0

using data stores would definitely help for this.

0

I dont need to save it yet

0

Inventories can be complex and time consuming to make. You're better off looking at a few examples before you dive in and make your own with little experience on how they work.

1 answer

I bet some of the experienced coders will say it's not that hard, but making a good inventory can be complicated sometimes, besides you shouldn't save the instances directly.

This discussion is preserved as it was. New answers, comments, and votes are closed.