Shirt not appearing

Hey there, I have made an outfit giver that works fine. However, the shirt for the Low Rank isn’t appearing.

image

This is the code I have done:

script.Parent.Touched:Connect(function(hit)
	local Player = game.Players:GetPlayerFromCharacter(hit.Parent)
	local Character = Player.Character
	
	if Player:GetRankInGroup(4789894) <= 8 then
		Character.Pants.PantsTemplate = script.Parent.Uniform.LR.Pants.PantsTemplate
		Character.Shirt.ShirtTemplate = script.Parent.Uniform.LR.Shirt.ShirtTemplate
	end
end)
1 Like

Have you confirmed that the script.Parent.Uniform.LR.Shirt.ShirtTemplate thing has loaded already? (You can honestly just do that in studio but applying it to a random humanoid / rig)

I will give it a go now.

char30

Yeah, it has loaded in and works fine for me when I test it. I feel like it may be an issue with the body type which I’m not sure how to fix.

Fixed it, the player did not have a shirt on and only pants. So I created a new shirt if they do not have one.