Wow, this looks outstanding! I’m looking to use it in the future, thank you for sharing it!
I’m having the same issue! Hope the developer notices this relatively soon,
Very nice, maybe add a spawner?
inventory which I won’t open source yet
Any idea when the new inventory system will be open sourced?
I do like this a lot.
It would be cool if this compressed the inventory data; if it doesn’t that-
Now that I think about it I can make a inventory handler Module or something (for my “framework”) which allows for stuff like that, well hope everything is good;
BTW to anyone using this: the viewportframe script can be really laggy, depending on your device, you may want to disable it, or if you’re good at that kinda stuff, reduce the lag…somehow…
thank you so much, this is amazing!
Is there a way you can add equipable accessories to this?
Don’t think so, but maybe if you copy the shirt function and change the value inside of it.
How do you make it work with grouped/modeled parts? It seems like it only works with “MeshParts” and “Parts”.
Update: I figured it out in the localscript (under “inv” from StarterGUI) and did some changes:
Here is the file if you wanted to test it out.
Now work with models.rbxl (89.6 KB)
Thanks for your contribution!
Big thanks! It’s really fun to play around with it.
Really amazing source thank you for sharing! I’ll be trying this out for sure.
Need to fix this! You can’t drop items
When will you add support for stacked items?
doesnt work for me, not sure why
Very Good, Thank you for giving out this Advanced Inventory, it’s really cool, It saved me a lot of time.
I’ll be designing this to my style and might remove some things that i don’t fit with. But really, Thank you so much although it’s late
ServerScriptService.Events:104: attempt to index nil with ‘Weight’
Now work with models[DROP].rbxl (100,9 KB)
game.ServerscriptServicie.Events
--Plr wants to drop an item
senddrop.OnServerEvent:Connect(function(player,itemname)
if game.ServerStorage.Inventory[player.Name]:FindFirstChild(itemname) then
local item = game.ServerStorage.Inventory:FindFirstChild(player.Name)[itemname]
if item.Amount.Value == itemsmodule[itemname]["Amount"] then
item.Amount.Value = item.Amount.Value - itemsmodule[itemname]["Amount"]
item:Destroy()
else
item.Amount.Value = item.Amount.Value - itemsmodule[item.Name]["Amount"]
end
game.ServerStorage.Inventory:FindFirstChild(player.Name).Weight.Value = game.ServerStorage.Inventory:FindFirstChild(player.Name).Weight.Value - itemsmodule[itemname]["Weight"]
print(game.ServerStorage.Inventory:FindFirstChild(player.Name).Weight.Value)
local newitem = game.ServerStorage.Items:FindFirstChild(itemname):Clone()
newitem.Parent = game.Workspace.Items
newitem.PrimaryPart.Position = game.Workspace[player.Name].HumanoidRootPart.Position
UpdateInventoryUI(player)
end
end)
And put on each model the corresponding primarypart of that model.
And add a weld to all parts of the model to the main one.