Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How its wrong Number of insert and how fix?

local Main = {InventoryTable = {Item = {["Newbie Sword"] = {Upgrade = 0
}
}
}
}
function Main.InventoryTable.Add(g1)
Item = table.insert(g1)
end
function Main.InventoryTable.Remove(g1)
Item = table.remove(g1)
end
return Main

UP there is a mod script another normal script

 local module = require(game:GetService("ServerScriptService"):WaitForChild("Inventory"))
local clone = {"Newbie Sword"}
module.InventoryTable.Add(clone)

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.