Hi. I just wanted to know if you’re able to use FindFirstChild in a ModuleScript for a table. I getting an error but I want my code to do something if the table for that specific zone is not found. Any solutions?
So, if it finds the table, it checks if the value “Enabled” is either true or false, if it’s true it only allows the user to click the switch from the GroupID and Rank set in the module script, if it’s set to false it allows any user to click it without being in the group.
I’m just trying your solution now, I’ll let you know how it goes, thanks.
Okay so it’s doing something, but not the correct thing. For the elseif I have a warn function to warn if the table doesn’t exist. The table does exist but it’s saying it doesnt. I’ll show you the script.