Advertisement
Navarone19_CH

Profile GUI

Aug 8th, 2021
2,987
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. local frame = script.Parent
  2. local player = game.Players.LocalPlayer
  3.  
  4. local userId = player.UserId
  5. local thumbType = Enum.ThumbnailType.AvatarThumbnail
  6. local thumbSize = Enum.ThumbnailSize.Size420x420
  7. local content, isReady = game.Players:GetUserThumbnailAsync(userId, thumbType, thumbSize)
  8.  
  9. frame.PlayerImage.Image = content
  10. frame.PlayerName.Text = player.Name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement