Is there a function for this purpose?
Be aware that I am not a professional scripter.
It's simple, really.
You can use the CharacterAdded
function.
1 | local function onCharacterAdded(character) |
2 | print (character.Name .. " has spawned" ) --Insert own code |
3 | end |