Hey there guys im new to lua and im trying to get a basic understanding of how to check if a client has connected to the server so i can put a message in chat saying "(NAME HERE) has connected for the first time welcome them to the server!" i may be a complete idiot for not thinking of how to do this (if you can put a solution and some hints on how to do it so i can see if i figure it out would greatly appreciate it)
Use the GM/PlayerInitialSpawn hook, and check if they have a NWBool called "JoinedBefore" or something set to true, if they don't, add it and broadcast a Net Message that says the message in the chat.