for making a hotbar system type thing, whats the best way to get the tool and have it so it has the same data as the tool that gets pulled out?
I say this because my first attempt would just clone the tool and put it in the character
for making a hotbar system type thing, whats the best way to get the tool and have it so it has the same data as the tool that gets pulled out?
I say this because my first attempt would just clone the tool and put it in the character
I used cloning for my previous works, you can use parenting too.
ive used cloning before, although if i put the tool into the inventory, or unequip then re-equip, it creates a clone of the tool without the stats from the cloned tool
(Ect you ran out of ammo in a cloned gun, so you just un equip and re equip the tool to get a new clone and get all the ammo back)
Oh, then I would just put it in the player’s backpack, and when equipping, put it in the character, the same in reverse.
You can remove the roblox inventory’s default UI by running this on a local script:
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)