|
| 22 Aug 2014 12:16 PM |
Hello, I'm having trouble with this line. Can anyone help me out?
local Ray = Ray.new(Tool[FireFrom], (m.Hit.p - Tool[FireFrom].CFrame.p + Vector3.new(math.random(-sp, sp), math.random(-sp, sp), math.random(-sp, sp))).unit*999)
bad argument #1 to 'new' (Vector3 expected, got userdata)
|
|
|
| Report Abuse |
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
|
| 22 Aug 2014 12:17 PM |
| Try Tool[FireFrom].Position |
|
|
| Report Abuse |
|
|
| 22 Aug 2014 12:19 PM |
| Thanks, that worked. Silly mistake xD |
|
|
| Report Abuse |
|