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

doe custom inventory need table?

Asked by 5 years ago
Edited 5 years ago

Example

for i,v do in pair(player.InventoryGetchildren())
local plr = game.Players.LocalPlayer
Obj1.Size = UDim2.new(1,-12,0,20)
Obj1.Position = UDim2.new(0,0,0,20*i-20)
Obj1.BackgroundTransparency = 1
Obj1.TextScaled = true
Obj1.Text = v.Name
Obj1.MouseButton1Down:connect(function()
plr.Charcter:Equip(v)
end

its break my game by selecting all item in one button

0
up vote dark_nineret -25 — 5y
0
The syntax is wrong, the script will not run. I have no clue what you're talking about Ankur_007 290 — 5y

Answer this question