head mesh variety

This commit is contained in:
Bitl 2017-07-29 15:55:08 -07:00
parent 9b62862506
commit 9ea26c2841
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ function LoadCharacterNew(playerApp,newChar)
pcall(function() pcall(function()
local newPart = game.Workspace:InsertContent("rbxasset://../../../charcustom/heads/"..newVal.Value) local newPart = game.Workspace:InsertContent("rbxasset://../../../charcustom/heads/"..newVal.Value)
if newPart[1] then if newPart[1] then
if newPart[1].className == "SpecialMesh" then if newPart[1].className == "SpecialMesh" or newPart[1].className == "CylinderMesh" or newPart[1].className == "BlockMesh" then
newPart[1].Parent = charparts[1] newPart[1].Parent = charparts[1]
else else
newPart[1]:remove() newPart[1]:remove()