First off, don't post screenshots of the code. This makes it impossible to copy and paste it and make necessary changes. Your string colour is so dark I can't even read it.
Second off, your CheckAdmin function is going to immediately return false if a player joins but their UserId is not first in the list. Even if it's an admin.
Also, the IDs should already be a number, calling tonumber is just redundant.
function module.isAdmin(client) --// 'is' is better than 'check'
for _, id in ipairs(Admins) do
if (rawequal(client.UserId, id)) then
If the return false; statement is reached that is because the above was not fulfilled; the player is not an admin.
Also, you should not be handling admin commands client sided. An exploiter can manipulate the requirements this way.
Finally, you are not using len correctly. It is used string.len(s) or s:len(). Again, this is a number, you don't need to call tonumber. Either way, don't use it: we have the unary length operator #. Use #s.
So what did we learn today?
Module Scripts(require, etc.)
Your thread does not revolve around events, module scripts or tables. You listened for events, yes, but your thread isn't about events! Same for everything else.
@Fifkee there's no such thing as a "good" moderator. And I'm not trying to be good.
What started this since day 1 was cyeria's ignorance (no offence). He would not take the criticisms given, and instead trying criticising the criticism received. I don't like ignorant people nor do I like being ignorant.
This is what really got on my nerves. I did get far more aggressive than I should have, and this is my fault.
Remember the feedback/criticism you gave me for my Libraries+ ? @Fifkee? I wanted that and I liked that. I want to improve as a programmer, and most importantly, as a person.
I completely agree it was horrifying, but someone needed to do something about it. As not only was he arguing to me, he was creating a whole militia in the discord to degrade me, so I had to do something.
This is completely false. Do not give misinformations about other people. I'm not even active on the discord anymore.
None of us are dealing this situation correctly. It's best that we go our ways and end this once and for all. I'd like to ask for forgiveness from you for my aggression and I want you to ask for the same from me, for attempting to damage my reputation.
I will be locking this thread. You liked your other thread anyways. The one with 100+ replies. Do your documentation there. If you want I can move it to cool creations, since, again, this is a creation you made that you want to show.