thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
| |
|
|
| 19 Jul 2013 10:35 AM |
| This is waaaay too broad, and not an actual script help question, but yes, I know how to make a bullet, and if you want to make you you should decide whether you want to make a small brick that flies through the air, or if it uses raycast and where the player clicks... |
|
|
| Report Abuse |
|
|
thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
| |
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 19 Jul 2013 10:50 AM |
.. Do you want it.. Raycast? A normal brick? Whats the velocity? Color? ECT... |
|
|
| Report Abuse |
|
|
thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
| |
|
|
| 19 Jul 2013 11:04 AM |
'whats racast' time to leave |
|
|
| Report Abuse |
|
|
thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
|
| 19 Jul 2013 11:10 AM |
| I don't want to make a raycast gun! |
|
|
| Report Abuse |
|
|
Friaza
|
  |
| Joined: 26 Dec 2008 |
| Total Posts: 6229 |
|
|
| 19 Jul 2013 11:15 AM |
Player = "Unsubstantial"
p = Instance.new("Part", Workspace) p.Shape = "Ball" p.CFrame = game.Players[Player].Character.Torso.CFrame *CFrame.new(0, 0, -4)
v = Instance.new("BodyVelocity", p) v.maxForce = Vector3.new(math.huge, math.huge, math.huge) v.velocity = game.Players[Player].Character.Torso.CFrame.lookVector *60
|
|
|
| Report Abuse |
|
|
Friaza
|
  |
| Joined: 26 Dec 2008 |
| Total Posts: 6229 |
|
|
| 19 Jul 2013 11:16 AM |
| lmao, I put the wrong Player name. Well, change it to "thetacah" |
|
|
| Report Abuse |
|
|
grimm343
|
  |
| Joined: 18 Sep 2008 |
| Total Posts: 2796 |
|
|
| 19 Jul 2013 11:33 AM |
p.CFrame = game.Players[Player].Character.Torso.CFrame *CFrame.new(0, 0, -4) To make sure that it starts out in front of you, you can do this..
a = game.Players[Player].Character.Torso p.CFrame = a.CFrame + a.CFrame.lookVector*2 --Or change 2 to however many studs in front of you that you want it to start out at |
|
|
| Report Abuse |
|
|