I am making a hide and seek game. Someone has to be it, but my script won't work for it. I have a feeling it is an issue with the table, but I'm bad with them.
local contestants = {}
--while true do and other code
it = contestants[math.random(1, #contestants)]
print(it.Name)
I get an error that says
ServerScriptService.MainScript:35: bad argument #2 to 'random' (interval is empty)
Thanks :)

1 comment
Thanks! Issue: it is spitting out nil at me.