Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Char Command help what am i doing wrong or what do i add?

Asked by 4 years ago

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)






Answer this question