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

How can I display the local player's avatar in the gui?

NOT A REQUEST. A client told me to recreate this so I need to display the local player's avatar on the left side of the screen.

I thought of when clicking the menu button the player teleports to a room and the camera switches to another one looking at the avatar. The problem is other avatars would also appear on screen!

Oh, and the game is and must be filtering disabled.

Do you have any other ideas on how to do this?

Sincerely, Fran.

1 answer

One possible option is to create another private room, teleport the player, and position the camera so that other players don't come into view when the button is clicked.

Another simpler option is to have a static picture of the avatar as a GUI instead. You can access the avatar image by setting the image id to:

"http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=150&Format=Png&username="..Player.Name

1 comment

0

that reminds me of rhs, where a house is created for each player. But I don't know how to do that, how to position the camera depending on where the private room is and the same with teleporting the player.

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