wait(2) if script.Parent.Parent.TeamColor == BrickColor.new("Black") then if workspace:FindFirstChild(script.Parent.Parent.Name):FindFirstChild("Shirt") == nil then if workspace:FindFirstChild(script.Parent.Parent.Name):FindFirstChild("Pants") ~= nil then workspace:FindFirstChild(script.Parent.Parent.Name).Pants:remove() a = Instance.new("Shirt") a.ShirtTemplate = ("http://www.roblox.com/asset/?id=142329378") a.Parent = workspace:FindFirstChild(script.Parent.Parent.Name) b = Instance.new("Pants") b.PantsTemplate = ("http://www.roblox.com/asset/?id=162148016") b.Parent = workspace:FindFirstChild(script.Parent.Parent.Name) else a = Instance.new("Shirt") a.ShirtTemplate = ("http://www.roblox.com/asset/?id=142329378") a.Parent = workspace:FindFirstChild(script.Parent.Parent.Name) b = Instance.new("Pants") b.PantsTemplate = ("http://www.roblox.com/asset/?id=162148015") b.Parent = workspace:FindFirstChild(script.Parent.Parent.Name) end else if workspace:FindFirstChild(script.Parent.Parent.Name):FindFirstChild("Pants") ~= nil then workspace:FindFirstChild(script.Parent.Parent.Name).Shirt:remove() workspace:FindFirstChild(script.Parent.Parent.Name).Pants:remove() a = Instance.new("Shirt") a.ShirtTemplate = ("http://www.roblox.com/asset/?id=142329378") a.Parent = workspace:FindFirstChild(script.Parent.Parent.Name) b = Instance.new("Pants") b.PantsTemplate = ("http://www.roblox.com/asset/?id=162148016") b.Parent = workspace:FindFirstChild(script.Parent.Parent.Name) else workspace:FindFirstChild(script.Parent.Parent.Name).Shirt:remove() a = Instance.new("Shirt") a.ShirtTemplate = ("http://www.roblox.com/asset/?id=142329378") a.Parent = workspace:FindFirstChild(script.Parent.Parent.Name) b = Instance.new("Pants") b.PantsTemplate = ("http://www.roblox.com/asset/?id=162148016") b.Parent = workspace:FindFirstChild(script.Parent.Parent.Name) end end end
It's putted in startergui, and It should work. WHy doesn't it?