[Solved]
So basically what I am trying to do is make a police uniform giver. Currently if I test my script in my own place with the shirts im wearing on my avatar its working completely fine, but the game im currently working on has a clothing shop which gives you custom clothing (still from roblox catalog). The problem is that the script is looking for Humanoid.Parent.Shirt.ShirtTemplate but in game person has something like Humanoid.Parent.AdidasShirt.ShirtTemplate – How do I approach this and make it like it replaces the shirt?