The face dosent load when I put the id:
function faceChange (id)
local face = workspace:FindFirstChild(game.Players.LocalPlayer.Name..'2'):FindFirstChild('Head').face
if id == '' or id == nil then
return
end
face.Texture = id
end
function addShirt(id)
if id == '' or id == nil then
return
end
local shirt = Instance.new('Shirt')
shirt.Parent = workspace:FindFirstChild(game.Players.LocalPlayer.Name..'2')
shirt.ShirtTemplate = tostring(id)
end
function addPants(id)
end
function addAc(id)
end
script.Parent.Activated:Connect(function()
faceChange(script.Parent.Parent.face.Text)
addShirt(script.Parent.Parent.shirt.Text)
end)
Heres the video: https://gyazo.com/532f531df41300b74de968bc1edb1278