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)
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)
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
If you are trying to do this via screenGUI make sure it's in a local script.
Already did
Might need to do a plr.PlayerGui:WaitForChild("StatusBar") to make sure the instance is there first.
Thanks. I thought of that before I read your answer but anyways thanks!