cara menghapus kunci dalam tabel lua
local test = {"a", "b", "c"}
local function removeKey(tbl, key)
for k,v in pairs(tbl) do
if (v == key) then
table.remove(tbl, key)
end
end
end
removeKey(test, "c")
Cautious Centipede