Actually never mind, it was my mistake, I have a system where it automatically says “You have been banned from this server.” if the admin doesn’t input a ban message, I only used table.insert on that bit, but not the actual part of the script which bans the player based off the admin’s ban message.
Thanks so much for your help and everyone else