OnlineOne
|
  |
| Joined: 14 Jul 2011 |
| Total Posts: 1193 |
|
|
| 28 Nov 2017 08:12 PM |
clone:SetPrimaryPartCFrame(CFrame.new(Vector3.new(basePos.X + clonePos.X, basePos.Y + clonePos.Y, basePos.Z + clonePos.Z)) * CFrame.fromEulerAnglesXYZ(math.rad(cloneRot.X)), math.rad(cloneRot.Y), math.rad(cloneRot.Z));
For some reason, it gives me this error: bad argument #3 to 'fromEulerAnglesXYZ' (number expected, got no value) Thanks in advance! |
|
|
| Report Abuse |
|
|
OnlineOne
|
  |
| Joined: 14 Jul 2011 |
| Total Posts: 1193 |
|
| |
|
OnlineOne
|
  |
| Joined: 14 Jul 2011 |
| Total Posts: 1193 |
|
| |
|
OnlineOne
|
  |
| Joined: 14 Jul 2011 |
| Total Posts: 1193 |
|
|
| 28 Nov 2017 08:40 PM |
This is the only part not working.
clone:SetPrimaryPartCFrame(CFrame.fromEulerAnglesXYZ(math.rad(cloneRot.X)), math.rad(cloneRot.Y), math.rad(cloneRot.Z)) |
|
|
| Report Abuse |
|
|