|
| 15 Jul 2011 10:42 AM |
Script: Door1 = script.Parent Door2 = script.Parent.Parent.Door2 Door1.Touched:connect(function() for i = 1,10 do wait(0.1) Door1.CFrame = Door1.CFrame + CFrame.new(i,0,0) Door2.CFrame = Door2.CFrame + CFrame.new(-i,0,0) end end)
Output: Workspace.Building V1.Doors.Door1.Script:6: bad argument #2 to '?' (Vector3 expected, got userdata)
To my opinion, why would a CFrame be asking for a Vector3? |
|
|
| Report Abuse |
|
|
| 15 Jul 2011 10:48 AM |
| I tried making Door1.CFrame + CFrame.new(i,0,0) to Door1.Position + Vector3.new(i,0,0) |
|
|
| Report Abuse |
|
| |