2011M was an outlier....

This commit is contained in:
Bitl 2020-09-18 16:44:20 -07:00
parent 139b2b8ae0
commit 99420aabb9
1 changed files with 18 additions and 38 deletions

View File

@ -100,15 +100,10 @@ function LoadCharacterNew(playerApp,newChar)
newTShirt = Instance.new("ShirtGraphic") newTShirt = Instance.new("ShirtGraphic")
newTShirt.Graphic = newVal.Value newTShirt.Graphic = newVal.Value
newTShirt.Parent = newChar newTShirt.Parent = newChar
elseif (string.match(newVal.Value, "roblox") == "roblox") then elseif (string.match(newVal.Value, "epicgamers") == "epicgamers") then
newTShirt = game.Workspace:InsertContent(newVal.Value) newTShirt = Instance.new("ShirtGraphic")
if newTShirt[1] then newTShirt.Graphic = newVal.Value
if newTShirt[1].className == "ShirtGraphic" then newTShirt.Parent = newChar
newTShirt[1].Parent = newChar
else
newTShirt[1]:remove()
end
end
else else
newTShirt = game.Workspace:InsertContent(path.."tshirts/"..newVal.Value) newTShirt = game.Workspace:InsertContent(path.."tshirts/"..newVal.Value)
if newTShirt[1] then if newTShirt[1] then
@ -127,15 +122,10 @@ function LoadCharacterNew(playerApp,newChar)
newShirt = Instance.new("Shirt") newShirt = Instance.new("Shirt")
newShirt.ShirtTemplate = newVal.Value newShirt.ShirtTemplate = newVal.Value
newShirt.Parent = newChar newShirt.Parent = newChar
elseif (string.match(newVal.Value, "roblox") == "roblox") then elseif (string.match(newVal.Value, "epicgamers") == "epicgamers") then
newShirt = game.Workspace:InsertContent(newVal.Value) newShirt = Instance.new("Shirt")
if newShirt[1] then newShirt.ShirtTemplate = newVal.Value
if newShirt[1].className == "Shirt" then newShirt.Parent = newChar
newShirt[1].Parent = newChar
else
newShirt[1]:remove()
end
end
else else
newShirt = game.Workspace:InsertContent(path.."shirts/"..newVal.Value) newShirt = game.Workspace:InsertContent(path.."shirts/"..newVal.Value)
if newShirt[1] then if newShirt[1] then
@ -154,15 +144,10 @@ function LoadCharacterNew(playerApp,newChar)
newPants = Instance.new("Pants") newPants = Instance.new("Pants")
newPants.PantsTemplate = newVal.Value newPants.PantsTemplate = newVal.Value
newPants.Parent = newChar newPants.Parent = newChar
elseif (string.match(newVal.Value, "roblox") == "roblox") then elseif (string.match(newVal.Value, "epicgamers") == "epicgamers") then
newPants = game.Workspace:InsertContent(newVal.Value) newPants = Instance.new("Pants")
if newPants[1] then newPants.PantsTemplate = newVal.Value
if newPants[1].className == "Pants" then newPants.Parent = newChar
newPants[1].Parent = newChar
else
newPants[1]:remove()
end
end
else else
newPants = game.Workspace:InsertContent(path.."pants/"..newVal.Value) newPants = game.Workspace:InsertContent(path.."pants/"..newVal.Value)
if newPants[1] then if newPants[1] then
@ -183,17 +168,12 @@ function LoadCharacterNew(playerApp,newChar)
newFace.Texture = newVal.Value newFace.Texture = newVal.Value
newFace.Face = "Front" newFace.Face = "Front"
newFace.Parent = charparts[1] newFace.Parent = charparts[1]
elseif (string.match(newVal.Value, "roblox") == "roblox") then elseif (string.match(newVal.Value, "epicgamers") == "epicgamers") then
newFace = game.Workspace:InsertContent(newVal.Value) newWaitForChild(charparts[1],"face"):remove()
if newFace[1] then newFace = Instance.new("Decal")
if newFace[1].className == "Decal" then newFace.Texture = newVal.Value
newWaitForChild(charparts[1],"face"):remove() newFace.Face = "Front"
newFace[1].Parent = charparts[1] newFace.Parent = charparts[1]
newFace[1].Face = "Front"
else
newFace[1]:remove()
end
end
else else
newFace = game.Workspace:InsertContent(path.."faces/"..newVal.Value) newFace = game.Workspace:InsertContent(path.."faces/"..newVal.Value)
if newFace[1] then if newFace[1] then