Well, I'm trying to create a script to enter a table, but when checking if the player is on the table so as not to insert it again, it doesn't just check it, can someone help me?
My script is in module:
local module = {}
module.Players = {}
module.Click = function(Nick)
if not module.Players[Nick] then
table.insert(module.Players,#module.Players + 1,Nick)
end
end
return module

1 comment
This renames the player name to true, not work