It just does nothing with no error message.
local function replaceClothes(player)
local character = player.Character
if character then
local shirt = character:FindFirstChildOfClass("Shirt")
local pants = character:FindFirstChildOfClass("Pants")
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1027549646"
pants.PantsTemplate = "http://www.roblox.com/asset/?id=1120991775"
end
end

3 comments
Did you called the function?
You have to fire the function + Are there errors?
Nevermind, I worked around it, and no error messages