Raidorz
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 5221 |
|
|
| 25 May 2015 02:52 PM |
I basically got this script where a part that shoots forward when the player presses a certain button. I want the part shooting forward in a straight line but it isn't working, it keeps tripping.
b = Instance.new("BodyVelocity") b.velocity = workspace.Player.Torso.CFrame.lookVector*700 b.maxForce = Vector3.new(math.huge,math.huge,math.huge) b.Parent = x -- PART |
|
|
| Report Abuse |
|
|
Raidorz
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 5221 |
|
| |
|
Raidorz
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 5221 |
|
| |
|
Raidorz
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 5221 |
|
| |
|
Raidorz
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 5221 |
|
|
| 25 May 2015 03:07 PM |
| I just want the part shooting straight forward in a straight line instead of tripping. |
|
|
| Report Abuse |
|
|
|
| 25 May 2015 03:10 PM |
| Put a body position or something like that to keep its position the same on the X,Y,or Z axis. |
|
|
| Report Abuse |
|
|
Raidorz
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 5221 |
|
|
| 25 May 2015 04:09 PM |
I did.
math.huge, math.huge, math.huge |
|
|
| Report Abuse |
|
|