#I need help with this custom inventory

15 messages · Page 1 of 1 (latest)

empty osprey
#

Okay, so here is the problem
I am remastering a classic roblox game and this game will have a custom inventory. But, I am having a problem.. Ok, so, the inventory will ONLY put the items inside of the custom inventory if it's in the StarterPack.
Let's just say I put a sword tool in replicatedstorage or whatever because I don't wanna give it to the player first thing when they join. I want it to happen during certain times. So, I need to figure out HOW can I make these tools teleport when a match is starting because this is a battle game. And then, when the match is over, it takes away your tools and the process keeps repeating.

Please help!

fervent knoll
#

Could you elaborate? What scripts do you use to achieve this problem? If it only takes tools from the StarterPack, are you sure its an entirely custom inventory and not just a redesign? Or is the script that moves the tools to the player set to only take tools from the StarterPack?

empty osprey
#

So the custom inventory is located inside of the engine that I kept in ServerScriptService. So what happens is when you test/join the game, the folders ungroup and go into wherever they need to go, like for example the custom menu going into StarterGUI. Here is an image of what it is. Basically, what is done here is that the custom menu comes with the 2013 client that is in the game. The screen GUI named "Roblox GUI" Inside of the GUI there is something named the Backpack Script that holds everything in the backpack. What would happen before this Backpack Script is that the items in replicatedstorage or wherever I placed it, (it's been a long time, I cannot really remember but I can check.) The items would just go into the player's inventory without putting it into the StarterPack.

fervent knoll
#

Ok, so from my understanding the engine setup just moves all the tools into StarterPack, and you want it to go to a players inventory?

empty osprey
#

No, before I added this engine what the game would do is it would just give the items from the replicated storage. It wouldn't bring it into StarterPack. The problem I am having is that the custom inventory's item's will only show up if there are items in the starter pack. So, since this custom one makes the original inventory disappear, I cannot change what weapon I am holding because the original inventory is gone and the custom inventory wont show the items, making it impossible to switch items.

#

This game has multiple gamemodes meaning every gamemode might have a different weapon

cobalt shaleBOT
#

studio** You are now Level 1! **studio

empty osprey
#

Maybe there is a way to make the items teleport in the player's inventory when a match is starting, and then make is disappear when that round is over?

#

Because there are 3 rounds in the game

#

until you revote for the next map and gamemode

empty osprey
#

Okay, so I found out the tools are actually kept in ServerStorage.

fervent knoll
empty osprey
#

are you saying that I would have to join a server and pasting items in their inventory?

#

there can be many serves happening