Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I get the name from a player?

How do I get the name from a player? Example: I want to print the name of the player who recieves cash, How would I get the player's name? Here's my script for printing, I want to replace "Player" with the Player's name!

print("Player Teleported:Cash Given")

1 comment

0

Player.Name i would do this as an answer but i dont really have an explanation for it other than it returns the Name

1 answer

✓ Accepted answer

Assuming you have the player instance stored in a variable called player,

print(player.Name.." Teleported:Cash Given")

1 comment

0

yes! I do. Thanks so much.

This discussion is preserved as it was. New answers, comments, and votes are closed.