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 » Game Design
Home Search
 

Re: BodyVelocity in Bullet, need help with end of script

Previous Thread :: Next Thread 
DerpyMerpKing is not online. DerpyMerpKing
Joined: 05 Feb 2011
Total Posts: 2553
13 Dec 2015 11:34 AM
I have decided to take a look at guns, and I am a bit confused with the script I am making. Here it is:

local tool = script.Parent
tool.Equipped:connect(function(equipped)
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
mouse.Button1Down:conect(function(clicked)
local bullet = Instance.new("Part", tool)
bullet.FormFactor = Enum.FormFactor.Custom
bullet.Shape = "Ball"
bullet.Size = Vector3.new(0.2, 0.2, 0.2)
bullet.CFrame = tool.Flame.CFrame + CFrame.new(0, 0, 0.8)
local push = Instance.new("BodyVelocity")
--push.
end)
end)
Report Abuse
rolbloxguy1876 is not online. rolbloxguy1876
Joined: 18 Sep 2011
Total Posts: 1272
13 Dec 2015 11:36 AM
screw bodyvelocity


use raycast
Report Abuse
DerpyMerpKing is not online. DerpyMerpKing
Joined: 05 Feb 2011
Total Posts: 2553
13 Dec 2015 11:38 AM
Ok.
Report Abuse
rolbloxguy1876 is not online. rolbloxguy1876
Joined: 18 Sep 2011
Total Posts: 1272
13 Dec 2015 11:38 AM
http://wiki.roblox.com/index.php/Raycasting
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
13 Dec 2015 11:41 AM
body velocity was the old school way of doing it

use raycast

is is faster

it's cooler

and gives you more opportunity because of all the things raycast allows

it was 105 times faster than the fastest known user created algorithm

pls lern raycast, is vry gud at gunz
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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