I'm very confused on how to make this

Y’know plugins like Load Avatar and when you type a name in it displays the profile pic?
How could I do that for example… https://gyazo.com/61931b6d120afa7d1ff7ad9fb672b660 I want to try to create this for my admin panel.
image

I believe you are looking for this function Players | Roblox Creator Documentation.

1 Like

How could I find out when a players name is entered in the textbox then it displays the profile?

You could use Changed:Connect() or GetPropertyChangedSignal()

This means, every time the text changes, you can make it so It’ll find a player in the server with that name.

1 Like

I was thinking of a way different topic but hopefully I can explain it from here

Upon activation of losing focus on the TextButton using the first parameter (EnterPressed), you can get all the players by checking if the Player’s name is equal to what you wrote

local Box = script.Parent
local thumbType = Enum.ThumbnailType.HeadShot
local thumbSize = Enum.ThumbnailSize.Size420x420
local ImageToDisplay = Box.Parent.ImageLabel

Box.FocusLost:Connect(function(EnterPressed)
    if EnterPressed then
        local Target = string.lower(Box.Text)
        for _, Player in pairs(game.Players:GetPlayers()) do
            if Target == string.lower(Player.Name) then
               local PlayerID = Player.UserId
               local content, isReady = Players:GetUserThumbnailAsync(PlayerID, thumbType, thumbSize)
               ImageToDisplay.Image = content
            end
        end
    end
end)