Posted
I get this error whenever trying to run my script, one of its children is a module script that has the table in, not sure why its not working.
ServerScriptService.Fun.Fun Commands:20: invalid argument #1 to 'find' (table expected, got number)
if table.find(Player.UserId, Whitelists) thenhttps://i.imgur.com/idqFNwN.png
Replied
According to table.find documentation, you provide the table first, then the value to look for second. You have that mixed up.
table.find({ "Hello", "World" }, "World") --> 2Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post