Hello. I am relatively new to making things move on its own so I just tried it and it’s hard. If I knew how to make the bullet move would know how to make a gun, so I tried but it didn’t work. Here’s the script:
local tool = script.Parent
local handle = tool.Handle
tool.Activated:Connect(function()
local bullet = Instance.new(“Part”, game.Workspace)
bullet.BrickColor = BrickColor.new(“Gold”)
bullet.CFrame = CFrame.new(handle.CFrame.X + 3, handle.CFrame.Y, handle.CFrame.Z)
bullet.Velocity = 90
bullet.Anchored = true
local damageScript = game.ServerStorage.bulletDamage
damageScript.Parent = bullet
end)
