game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
if character.TeamColor == "Dark Blue"
then
character.Shirt.ShirtTeamplate = "https://www.roblox.com/Police-item?id=458386092"
end
end)
end)
I played it and it did not work

1 comment
Just a heads up, you need to make sure everything is in the right format and spelling. i.e. "ShirtTemplate" and "rblxassetid://itemCode"