So in this code i,m changing the Template ID of a model and want to change it for the Player itself but i don't get any Errors or Warnings and it only changes the model appearance. So does anybody know why?
script.Parent.MouseButton1Click:Connect(function()
local Modul = game.Workspace.Starter.StarterCharacter.Shirt
Modul.ShirtTemplate = "http://www.roblox.com/asset/?id=28984380"
playername = script.Parent.Parent.Parent.Parent.Parent.Parent.Name
player = Workspace:FindFirstChild(""..playername.."")
if player ~= nil then
player:FindFirstChild("Shirt").PantsTemplate = "http://www.roblox.com/asset/?id=28984380"
end
end)
