`I am trying to make a admin script and I can't figure out how to make admin tables. I found from a video but it must not be working. Nothing is appearing in the output. I will put both code in here. So examine it and please determine if its correct. Thank you!~~~~~~~~~~~~~~~~~
local dank = {"AwesomeBuilder346"}
for i,v in pairs(dank) do
game.Players[dank[i]].Chatted:connect(function(msg)

1 comment
You need to use UserId since ppl can change names. Also don't loop through the table. OnPlayerAdded check if the player is in the table.