local f=30 local R=1.1 local s=true local Z=3 local r=.08 local K=1 local t=.3 local x,G=9,13 local z=2 local i={"\114\098\120\097\115\115\101\116\105\100\058\047\047\054\057\054\050\049\053\051\057\057\055","\114\098\120\097\115\115\101\116\105\100\058\047\047\054\057\054\050\049\053\052\051\050\056";"\114\098\120\097\115\115\101\116\105\100\058\047\047\054\057\054\050\049\053\052\054\057\049","\114\098\120\097\115\115\101\116\105\100\058\047\047\054\057\054\050\049\053\053\048\049\056";"\114\098\120\097\115\115\101\116\105\100\058\047\047\054\057\054\050\049\053\053\051\055\056"}local n="\114\098\120\097\115\115\101\116\105\100\058\047\047\052\057\056\056\054\050\049\057\054\056"local j=Vector3.new(0,0,0)local X=300 local u=400
--Internal Settings--

local fullMag = 30

local spread = 1.1 -- in degrees

local fullauto = true -- shoots all bullets as long as the player is visible (boolean)

local burstamount = 3 -- (only works if full auto is off) amount of times gun fires in burst fire mode

local firerate = 0.08 -- in seconds

local shotgunpellets = 1 -- setting this above 1 turns the gun into a shotgun (MIGHT LAG WITH FULL AUTO ON)

local delaybeforereloading = 0.3 -- to delay reload (prevents the marine from shooting the last shot of the mag at the ground)

local MinimumDamage, MaximumDamage = 9, 13 -- the amount of damage each bullet does (RANDOMIZED) first value is minimum, second value is maximum

local headshotmultiplier = 2 -- self explanitory (set this value to 1 if you dont want a multiplier)

local HitWallSounds = {
	"rbxassetid://6962153997",
	"rbxassetid://6962154328",
	"rbxassetid://6962154691",
	"rbxassetid://6962155018",
	"rbxassetid://6962155378",
} -- basically sounds for hitting walls

local HitFleshSound = "rbxassetid://4988621968" -- plays when a creature gets shot

local bulletacceleration = Vector3.new(0, 0, 0) -- very similar to how acceleration works in particle emitters (setting the y value to a negative number will give the bullet bulletdrop)

local maxdistance = 300

local bulletspeed = 400
