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

Grey box instead of player endpoint?

Asked by
Galicate 106
6 years ago

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"
0
Have you tried changing the “id” in front of “userId=” into the player’s UserId? User#20279 0 — 6y

1 answer

Log in to vote
0
Answered by
CodyDev 70
6 years ago
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.

0
Also make sure the script is inside the image. CodyDev 70 — 6y
Ad

Answer this question