I Made a Started Character and added a shirt and pants to the model. When the model is in the workspace I can see it fine, however, when I put it in starter character, I spawn as it but the clothes are all grey with no textures. I tried putting this LocalScript in the StarterGui and It gave no error, but my clothes are still grey. I tried in both Studio Test mode and a Live game. Same Result.
shirtid = "http://www.roblox.com/asset/?id=925627339"
pantsid = "http://www.roblox.com/asset/?id=2040734207"
game.Players.PlayerAdded:connect(function(player)
char = game.Players.LocalPlayer.Character
char.Shirt.ShirtTemplate = 925627339
char.Pants.PantsTemplate = 2040734207
end)
Please help soon!
Edit Here is Screenshot of the explorer and test area. https://imgur.com/a/S0tjYcr
(making a link didn't work sorry)
UPDATE: I deleted The StarterHumanoid that I had in the starterPlayer folder and it fixed the problem.

3 comments
The issue's because the script's listening for a new player to join (via PlayerAdded).
Also, please put your code in a block block; it makes it easier to read. https://forum.scriptinghelpers.org/topic/82/how-to-format-questions-answers-on-the-main-site
How do I fix this?