Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Can anyone help me with a custom inventory system? [closed]

Asked by 8 years ago

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.

0
using data stores would definitely help for this. scottmike0 40 — 8y
0
I dont need to save it yet KuroNakamura 5 — 8y
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. Cuvette 246 — 8y

Closed as Too Broad by Goulstem, koolkid8099, and GoldenPhysics

This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 8 years ago

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.

Ad