update scripts
This commit is contained in:
parent
507f2cbdab
commit
139b2b8ae0
|
|
@ -87,15 +87,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
|
||||||
|
|
|
||||||
|
|
@ -87,15 +87,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
|
||||||
|
|
|
||||||
|
|
@ -88,15 +88,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
|
||||||
|
|
@ -115,15 +110,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
|
||||||
|
|
@ -142,15 +132,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
|
||||||
|
|
|
||||||
|
|
@ -88,15 +88,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
|
||||||
|
|
@ -115,15 +110,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
|
||||||
|
|
@ -142,15 +132,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
|
||||||
|
|
@ -171,17 +156,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
|
||||||
|
|
|
||||||
|
|
@ -92,15 +92,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
|
||||||
|
|
@ -119,15 +114,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
|
||||||
|
|
@ -146,15 +136,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
|
||||||
|
|
@ -175,17 +160,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
|
||||||
|
|
|
||||||
|
|
@ -92,15 +92,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
|
||||||
|
|
@ -119,15 +114,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
|
||||||
|
|
@ -146,15 +136,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
|
||||||
|
|
@ -175,17 +160,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
|
||||||
|
|
|
||||||
|
|
@ -109,15 +109,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
|
||||||
|
|
@ -136,15 +131,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
|
||||||
|
|
@ -163,15 +153,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
|
||||||
|
|
@ -192,17 +177,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
|
||||||
|
|
|
||||||
|
|
@ -703,9 +703,11 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
newWaitForChild(game.StarterGui, "Dialogs")
|
newWaitForChild(game.StarterGui, "Dialogs")
|
||||||
newWaitForChild(game.StarterGui, "Health")
|
newWaitForChild(game.StarterGui, "Health")
|
||||||
newWaitForChild(game.StarterGui, "Playerlist")
|
newWaitForChild(game.StarterGui, "Playerlist")
|
||||||
|
newWaitForChild(game.StarterGui, "Backpack")
|
||||||
game.StarterGui.Dialogs:clone().Parent = plr.PlayerGui
|
game.StarterGui.Dialogs:clone().Parent = plr.PlayerGui
|
||||||
game.StarterGui.Health:clone().Parent = plr.PlayerGui
|
game.StarterGui.Health:clone().Parent = plr.PlayerGui
|
||||||
game.StarterGui.Playerlist:clone().Parent = plr.PlayerGui
|
game.StarterGui.Playerlist:clone().Parent = plr.PlayerGui
|
||||||
|
game.StarterGui.Backpack:clone().Parent = plr.PlayerGui
|
||||||
game:GetService("Visit")
|
game:GetService("Visit")
|
||||||
while true do wait()
|
while true do wait()
|
||||||
if (plr.Character.Humanoid.Health == 0) then
|
if (plr.Character.Humanoid.Health == 0) then
|
||||||
|
|
|
||||||
|
|
@ -40,15 +40,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
|
||||||
|
|
@ -67,15 +62,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
|
||||||
|
|
@ -94,15 +84,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
|
||||||
|
|
@ -123,17 +108,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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue