You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I want the player’s profile to appear when they join the game
What is the issue? Include screenshots / videos if possible!
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried to do a remote event from the server to the client which didn’t work. I tried just a normal local script which also didn’t work, and I tried to do a for loop which also didn’t work.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
I’ve tried this before and it worked so I looked at old code and it was the exact same thing. I really don’t understand, or maybe there is something I’m missing
local plrImage = script.Parent.mainBank.plrImage
local Players = game:GetService("Players")
local userId = plr.UserId
local thumbType = Enum.ThumbnailType.HeadShot
local thumbSize = Enum.ThumbnailSize.Size60x60
local content = Players:GetUserThumbnailAsync(userId, thumbType, thumbSize)
print(content)
plrImage.Image = content
plrImage.Size = UDim2.new(0, 60, 0, 60)
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.
local Player = game.Players.LocalPlayer
local PlayerImage = script.Parent.mainBank.plrImage
PlayerImage.Image = game.Players:GetUserThumbnailAsync(Player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size60x60)
You first off were printing the thumbnail, which might error (Idk though.) Also, setting the size to 60x60 on the ImageLabel will end up changing the size on the ImageLabel, not thumbnail!
Other than that, let me know any troubles that may occur with my code!
local plrImage = script.Parent
local Player = game.Players.LocalPlayer
local PlayerImage = script.Parent
PlayerImage.Image = game.Players:GetUserThumbnailAsync(Player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size60x60)
Well, it seems I have found the problem. My actual roblox profile picture is not showing. Can you send your id so I can test it. Roblox is really screwing me over, I don’t know why my profile picture is blank.