When I try to use player images (such as the headshot), it comes as blank or an error.
I've been using:
local plrid = script.Parent.Parent.Parent.Parent.Parent.UserId script.Parent.Image ="http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&id="..plrid
How to avoid this?
It has to be a problem with how you define "plrid". Since you're working with Guis I'll assume you're using a LocalScript(which you should!). Remember that you can always use LocalPlayer, like this:
local plrid = game:GetService("Players").LocalPlayer.UserId script.Parent.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&id="..plrid