local frame = script.Parent.Parent
local inputbox = frame:WaitForChild("TextBox")
local holder = frame.Parent
local display = holder:WaitForChild("display")
local imagelabel = display:WaitForChild("ImageLabel")
local userimg = 'http://www.roblox.com/Thumbs/Avatar.ashx?format=png&x=100&y=100&username='
local username = frame:WaitForChild("username")
script.Parent.MouseButton1Click:connect(function()
username.Value = inputbox.Text
wait()
imagelabel.Image = userimg..username
end)
I'm currently working on a search system that relies on user input. Why can't it link username to userimg?

1 comment
Whoops! I usually never make that mistake. Thanks for pointing that out!