Hello, i've got a small problem, when it comes to finding the username and ID in a search box. Below is my current code, for my "search" box. At the moment, i need to search for a username, in order to get the image below. https://roblox-network.com/uploads/images/png/mas.png
Is there a easy way to make the search box, allow entery of eather username or user ID, And then output the user image, username in the Textbox and User ID in the other textbox?
Or do i have to use an web API to get it?
function o()
script.Parent.Parent.Parent.Parent.Parent["UI-CENTER"]["Page Content"]["UserSearch"]["Frame"].Thumbnail.Image = "https://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=".. script.Parent.Parent.NameInput.Text
end
script.Parent.MouseButton1Down:connect(o)

2 comments
There is multiple different profile picture styles you can use, see here: http://devforum.roblox.com/t/new-image-endpoints-that-can-be-used-in-game/28182
@LittleBigDeveloper, okay that's neat! I didn't make the code so I can't change it without their permission.