-- Gun variables local gun = script.Parent local fireRate = 10 -- shots per second local bulletPrefab = game.ServerStorage.Bullet
-- Remove the bullet after a short distance wait(2) bullet:Destroy() end roblox gun script pastebin
Do you have any specific questions about Roblox scripting or game development? I'm here to help! -- Gun variables local gun = script