attempt to concatenate string with userdata?
02 | local name = owner.Name |
04 | local head = Instance.new( "Part" ) |
05 | head.Parent = game.Workspace |
08 | head.CanCollide = false |
09 | head.Size = Vector 3. new( 2 , 1 , 1 ) |
11 | local face = Instance.new( "Decal" ) |
17 | local torso = Instance.new( "Part" ) |
18 | torso.Parent = game.Workspace |
21 | torso.CanCollide = false |
22 | torso.Size = Vector 3. new( 2 , 2 , 1 ) |
24 | local larm = Instance.new( "Part" ) |
25 | larm.Parent = game.Workspace |
28 | larm.CanCollide = false |
29 | larm.Size = Vector 3. new( 1 , 2 , 1 ) |
31 | local rarm = Instance.new( "Part" ) |
32 | rarm.Parent = game.Workspace |
35 | rarm.CanCollide = false |
36 | rarm.Size = Vector 3. new( 1 , 2 , 1 ) |
38 | local lleg = Instance.new( "Part" ) |
39 | lleg.Parent = game.Workspace |
42 | lleg.CanCollide = false |
43 | lleg.Size = Vector 3. new( 1 , 2 , 1 ) |
45 | local rleg = Instance.new( "Part" ) |
46 | rleg.Parent = game.Workspace |
49 | rleg.CanCollide = false |
50 | rleg.Size = Vector 3. new( 1 , 2 , 1 ) |
55 | local char = game.Workspace:FindFirstChild(name) |
56 | head.Position = char.Head.Position |
57 | head.Orientation = char.Head.Orientation |
59 | torso.Position = char.Torso.Position |
60 | torso.Orientation = char.Torso.Orientation |
62 | larm.Position = char( "Left Arm" ).Position |
63 | larm.Orientation = char( "Left Arm" ).Orientation |
65 | rarm.Position = char( "Right Arm" ).Position |
66 | rarm.Orientation = char( "Right Arm" ).Orientation |
68 | lleg.Position = char( "Left Leg" ).Position |
69 | lleg.Orientation = char( "Left Leg" ).Orientation |
71 | rleg.Position = char( "Right Leg" ).Position |
72 | rleg.Orientation = char( "Right Leg" ).Orientation |
On line 62 it says "attempt to concatenate string with userdata". Help!!!