This is what I have, but its not working...

game.Players.PlayerAdded:connect(function(plr)
	plr.PlayerGui.StatusBar.avatarPic.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..plr.Name
	print("success!")
end)

4 comments

0

If you are trying to do this via screenGUI make sure it's in a local script.

0

Already did

1

Might need to do a plr.PlayerGui:WaitForChild("StatusBar") to make sure the instance is there first.

0

Thanks. I thought of that before I read your answer but anyways thanks!