The player’s Id should be used instead of the name since that can be changed. Also with this script you have to manually put in all the banned players, which is fine, though it’s not ideal. Instead you can have a data store of banned user id’s and use the same principle where when the player joins the script checks if the player is banned or not and kicks them if they are. Then to ban someone you can add their Id to the data store via a script, which is easier than doing it manually.
I wouldn’t really consider this an advanced tutorial. You would only need to use this if you only want to ban specific players.
You should put the player’s ID instead of Username in the blacklist table because the banned player could just change their username to unban themself.