PF = script.Parent function sup() if PF.Name.Value ~= nil then PF.Pic.Decal.Texture = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username="..PF.Name.Value PF.PN.SurfaceGui.Frame.Textbox.Text = ""..PF.Name.Value end end sup()
What the script is supposed to do is show the players logo and name of whoevers name is in the stringvalue of Name If you have ever seen the portrait with roblox tools similar except added the name
Disclaimer: This is what I see in the script since I don't actually see the parts and what not, so I apologize if my answer is wrong.
Problem: It appears that you have given a property's name to an object. Example: A BasePart named Name, a ScreenGui named Name, etc.
Solution: Change the name of the object you are defining. The script will search for the property rather than the name, causing an error. Say you had a part named Name. If you were to define it, you would get an error since it is looking at the property of the Name's parent rather then the part named Name.