I have a question: (Title). I tried the following, but it just destroys the ShirtTemplate and doesn't create a new one. If anyone could help, I'd appreciate it!
game.Players.PlayerAdded:connect(function(player)
shirt = player.Parent:findFirstChild("Shirt")
if shirt then
shirt:Destroy()
newshirt = Instance.new("Shirt",player)
newshirt.ShirtTemplate = "http://www.roblox.com/asset/?id=116098941"
end
pants = player.Parent:findFirstChild("Pants")
if pants then
pants:Destroy()
newpants = Instance.new("Pants",player)
newpants.PantsTemplate = "http://www.roblox.com/asset/?id=155271561"
end
end)

1 comment
Thank you!