Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Disabled topbar now the issue is that I can't even use my own custom shop inventory GUI?

Asked by 8 years ago

Not the ROBLOX inventory bar, the Inventory GUI where I have made a button called Equip. Only shows up after purchasing a item in the shop menu. But now the item can't clone to the Backpack because when topbar disabled, I had to use CloneTrooper1019's backpack. Here's what so far I did in my script once trying to equip:

plr = script.Parent.Parent.Parent.Parent.Parent
script.Parent.MouseButton1Down:connect(function()
    cloneweapon = game.Lighting:FindFirstChild(script.Parent.Parent.SelObject.Value):Clone()
    plr.Backpack:ClearAllChildren()
    cloneweapon.Parent = plr.Backpack
end)


0
Please answer. ShinoKae 0 — 8y
0
This isn't the proper code to give an answer. ChemicalHex 979 — 8y

Answer this question