Don’t mind about the Favorite and Sell Items buttons on the left.
What I want to achieve
An outline displaying the rarites around the item, I have got a module script with the Rarities and colours.
Text that shows what item you have
A viewport frame of the item
6 Hot bar slots for phones and 9 hotbar slots for everybody else
Also a search system like the default inventory/backpack system
A button that opens that Inventory
The items are in ReplicatedStorage.ItemAssets
ItemAssets is a folder
The items are tools so you will have to get the child which is a union and name it to the correct item name.
I have tried looking for youtube videos for help but all I find are survival type inventory systems. If you have found a youtube video similar to this system, feel free to show!
okay i’m just boldly going to assume that you are experienced and i’ll simplify everything before reading everything, do not that i am unaware if it is possible to modify the core backpack gui
first of all, you’re gonna want to create a custom backpack, because well, you just have to
then, you’re going to recreate the roblox backpack functionality (which i don’t know how to do)
if you have a module with rarities, and colors, you can just do:
frame.BorderColor3 = module[rarity].color
this is just simply part of the frame, nothing too complicated
store the item tool/model in a place like ReplicatedStorage, and then you can do:
local itemToDisplay = itemStorage:FindFirstChild(item):Clone()
itemToDisplay.Parent = viewportFrame
viewportCamera.CameraSubject = itemToDisplay
i don’t know how to do this one, sorry
simply have a TextBox as part of your backpack gui, and then whenever the user types in it, you do:
local currentSearch = TextBox.Text -- or however else you get the text
for _, item in backpack:GetChildren() do
if not string.find(item.Name, currentSearch) then
itemFrame.Visible = false
end
end