function FindIndex(value, tbl)
for i,v in next, tbl do
if v == value then
return i
end
end
return value.." is not in the table."
end
local table = {1, 2, "Builderman", "LOL!"}
print(FindIndex("LOL!", table))
> 3
#code R+ | local RAP = "421,538"; local robux = "R$14,980" |