I'm making something that adds a player to the end of the admins table, and this is meant to check how many admins there are, however, it doesn't work. How would I check how many admins there are.
local adminval = #admins
adminval = tonumber(adminval) -- error here?
Error: attempt to get length of global 'admins' (a userdata value)

1 comment
You haven't provided any information. What is "admins"