Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 6 years ago
Edited 6 years ago

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

Log in to vote
0
Answered by
RayCurse 1518 Moderation Voter
6 years ago

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

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. FranGamer1892 0 — 6y
Ad

Answer this question