#Preventing the same value in a table
1 messages · Page 1 of 1 (latest)
if table[value] then return end?
Super = "Super"
}
if tbl["Super"] then print(tbl["Super"]) end```
** You are now Level 7! **
you store the value as the index of it
Super = "Super"
}
tbl.Duper = "Duper"
if tbl["Super"] then print(tbl["Super"]) end
print(tbl)```
easiest way could be just requiring a module script where you have the table and set it to a variable
forgot that exists
and using table.remove to remove stuff from that
what if i want the same variables again
make a clone of the table
set the variable again