Character Clothing Script Error

This script does not seem to be working and I have absolutely no clue on what’s causing it.
Here is the code:
function transform() circ() circ() circ() fhead.Parent.BrickColor = BrickColor.new('Really black') child(char,'CharacterMesh') shirt = Instance.new('Shirt', char) shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id=26550810' pants = Instance.new('Pants', char) pants.PantsTemplate = 'http://www.roblox.com/asset/?id=26550833' pack('LeftArm',0,279174949) pack('RightArm',0,279174886) pack('LeftLeg',0,319336109) pack('RightLeg',0,319336155) pack('Torso',0,376169183) circ2() colorlerp(o1.ImageColor3,Vector3.new(0,0,0)) o2.TextColor3 = Color3.new(0,0,0) o3.TextColor3 = Color3.new(0,0,0) o4.TextColor3 = Color3.new(0,0,0) o6.TextColor3 = Color3.new(0,0,0) o7.TextColor3 = Color3.new(0,0,0) o8.TextColor3 = Color3.new(0,0,0) o9.TextColor3 = Color3.new(0,0,0) wait(.1) torso.Anchored = false end
If you have any solutions, Please let me know! I’ve been trying to fix this but was unsuccessful with each attempt.