how to get the index of a element roblox code example
Example: Roblox get the certain index of a value in roblox
local F = {"Food","Stones","Candy","November",}
for i, v in pairs(F) do
print(tostring(i).." is the index of: "..tostring(v))
end
--Lua Script Language