Tentoid
(Tomothy)
December 12, 2021, 10:07am
#1
I’m trying to make a game like those ‘Find The _’* games. The problem is I have no idea how to make a GUI inventory datastore? I really hope somebody can help
Make ur inventory system similar to like putting value objects in a folder inside the player
and the names of those values would be the item name, the description would be an attribute in the value, etc. and then save those or something.
2 Likes
Moleza
(Moleza)
December 12, 2021, 12:44pm
#3
Whenever you get stuck on something and you don’t know how to do that,
Search on Google / Youtube ( Youtube you can learn alot of stuff easy )
But in Devforum you can find many topics with similar questions, that may solve your issue or problem
( Example ):
local httpService = game:GetService(“HttpService”)
game.Players.PlayerRemoving:Connect(function(player)
local dataToSave = {}
local gold = player.Gold – the value of the players gold
local inventory = {}
for _, v in pairs(player.Inventory) do -- loop through the players inventory
local item = {}
table.insert(item, v.Id) -- the id value
table.insert(item, v.Name) -- the item name
table.insert(item, v.Description) -- the item description
table.insert(inventory, item) -- insert item into i…
Hey amazing developers! I’ve created a tutorial for new people regarding the datastore and how to save multiple/singular data. This tutorial will cover alot of things so if you’re new make sure you have your water ready!
In this tutorial im gonna try my best to explain every single line as possible assuming that you’re really new to coding, but if you already know some basic stuff, This tutorial is gonna go faster for you!
For any improvements for this topic/thread please comment down below so…