this is a local script because it's in a gui

function Clicked()


local PS = game:GetService("Players")

local ID = PS:GetNameFromUserIdAsync(script.Parent.Parent.CodeName.Text)


PS:GetHumanoidDescriptionFromUserId(ID)


--but how the hell do i load it on to a character based off of the text in a text box like if i put in a player name i want them to load in a character and stuff---




end


script.Parent.MouseButton1Click:Connect(Clicked)