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

0

Did you called the function?

0

You have to fire the function + Are there errors?

0

Nevermind, I worked around it, and no error messages