So i have a noob that shoots a gun when touched, and it works, but i have no idea how to make it so the bullet never loses velocity and falls down to the ground like it usually does
Right now, I have my script set up like this:
head = script.Parent.GunBarrel
function onTouch()
bullet = Instance.new("Part", game.Workspace.NoobWithGun.GunBarrel)
bullet.Name = "Bullet"
bullet.Size = Vector3.new(1,1,1)
bullet.Shape = "Ball"
bullet.CFrame = head.CFrame
bullet.Velocity = head.CFrame.lookVector*1000
bullet.CanCollide = false
bullet.BrickColor = BrickColor.new("Dark stone grey")
end
game.Workspace.NoobWithGun.Torso.Touched:connect(onTouch)

1 comment
Thanks dude :D