generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How do I make a bullet?

Previous Thread :: Next Thread 
thetacah is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
19 Jul 2013 10:32 AM
Anyone know?
Report Abuse
Christbru01 is not online. Christbru01
Joined: 03 Apr 2010
Total Posts: 649
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 is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
19 Jul 2013 10:47 AM
What???
Report Abuse
kingmatt2 is not online. 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 is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
19 Jul 2013 10:56 AM
What's raycast?
Report Abuse
Unsubstantial is not online. Unsubstantial
Joined: 11 Sep 2012
Total Posts: 872
19 Jul 2013 11:04 AM
'whats racast'
time to leave
Report Abuse
thetacah is not online. 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 is online. 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 is online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image