# Use the function GetPlayerFromCharacter() to obtain the player, and then you can retrieve the UserId