When the game loads, instead of the players icon appearing, it just changes it to a grey box. Can someone help?
script.Parent.PartyLeader.Image = "https://www.roblox.com/bust-thumbnail/image?userId=id&width=420&height=420&format=png"
When the game loads, instead of the players icon appearing, it just changes it to a grey box. Can someone help?
script.Parent.PartyLeader.Image = "https://www.roblox.com/bust-thumbnail/image?userId=id&width=420&height=420&format=png"
local name = "builderman"
script.Parent.Image = "https://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&username=" .. name
Change name to the username of the user you want there. This adds their username after the "username=" in the link which allows the image to display their avatar.
Also make sure the script is inside the image.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Have you tried changing the “id” in front of “userId=” into the player’s UserId?