When I click, the bullet comes out all kinds of different ways. I don't know why it does this, but it does. I just want it to fly straight forward.
function fireBullet(d)
local bullet = Instance.new("Part")
bullet.FormFactor = "Custom"
bullet.Size = Vector3.new(1.5, 0.35, 0.35)
bullet.BrickColor = BrickColor.new("White")
bullet.Position = tool.Handle.Position + (d * 5)
bullet.Velocity = d * 125
local s = script.RemoveBullet:Clone()
s.Disabled = false
s.Parent = bullet
local force = Instance.new("BodyForce")
force.force = Vector3.new(0, 25, 0)
force.Parent = bullet
bullet.Parent = game.Workspace
end

6 comments
What does speed have to do with it flying forward?
Nevermind, worked. Thanks!
its k :) i remeber u from my game
lol, hi
Now it makes this loud "OOF" sound when a player is shot and killed.
Try and change the numbers around to see if it is the bullet that causes the "OOF" or the environment.