I am making something where It makes you wear a shirt automatically.
person = game.Players.LocalPlayer.Character
if person.Shirt ~= nil then -- Means if it isn't nil or not.
person.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=133991511"
else
shirt = Instance.new("Shirt")
shirt.Name = "Shirt"
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=133991511"
end
It will not work. Help?
Thank you for the help.

2 comments
Fixed the if statement.
Try again.