function makeRay(k,K)local V=Instance.new("\080\097\114\116")V.Name="\082\097\121\080\097\114\116"V.BrickColor=BrickColor.new("\066\114\105\103\104\116 \114\101\100")V.Transparency=.5 V.Anchored=true V.CanCollide=false V.TopSurface=Enum.SurfaceType.Smooth V.BottomSurface=Enum.SurfaceType.Smooth V.formFactor=Enum.FormFactor.Custom V.CFrame=k V.Size=K V.Parent=m ignoreList[#ignoreList+1]=V end local k=parts.Parent.Gun.Muzzle:clone()k.Parent=game.Workspace k.Anchored=true parts.Parent.Gun.Muzzle.Sound:Play()local K=k.PointLight:clone()K.Parent=k K.Enabled=true local V=k.Flash:clone()V.Parent=k V.Enabled=true game.Debris:AddItem(K,.07)game.Debris:AddItem(V,2)game.Debris:AddItem(k,.08)round=Instance.new("\080\097\114\116",user)round.Name="\082\097\121\080\097\114\116"round.Transparency=0 round.Anchored=true round.CanCollide=true round.TopSurface=Enum.SurfaceType.Smooth round.BottomSurface=Enum.SurfaceType.Smooth round.Material=Enum.Material.Neon round.formFactor=Enum.FormFactor.Custom round.BrickColor=BrickColor.new("\068\097\105\115\121 \111\114\097\110\103\101")yOffset=-0.2 local H=Instance.new("\080\111\105\110\116\076\105\103\104\116")H.Parent=round H.Brightness=50 H.Color=Color3.new(255,255,0)H.Range=10 H.Shadows=true
--Function For Making New Ray Bricks
function makeRay(cframe, size)
	local p = Instance.new("Part")
	p.Name = "RayPart"
	p.BrickColor = BrickColor.new("Bright red")
	p.Transparency = 0.5
	p.Anchored = true
	p.CanCollide = false
	p.TopSurface = Enum.SurfaceType.Smooth
	p.BottomSurface = Enum.SurfaceType.Smooth
	p.formFactor = Enum.FormFactor.Custom
	p.CFrame = cframe
	p.Size = size
	p.Parent = m
	ignoreList[#ignoreList + 1] = p
end

local flash = parts.Parent.Gun.Muzzle:clone()

flash.Parent = game.Workspace

flash.Anchored = true

parts.Parent.Gun.Muzzle.Sound:Play()
local FL = flash.PointLight:clone()
FL.Parent = flash
FL.Enabled = true
local Flashy = flash.Flash:clone()
Flashy.Parent = flash
Flashy.Enabled = true
game.Debris:AddItem(FL, 0.07)
game.Debris:AddItem(Flashy, 2)
game.Debris:AddItem(flash, 0.08)

round = Instance.new("Part", user)
round.Name = "RayPart"
round.Transparency = 0
round.Anchored = true
round.CanCollide = true
round.TopSurface = Enum.SurfaceType.Smooth
round.BottomSurface = Enum.SurfaceType.Smooth
round.Material = Enum.Material.Neon
round.formFactor = Enum.FormFactor.Custom
round.BrickColor = BrickColor.new("Daisy orange")
yOffset = -0.2

local PL = Instance.new("PointLight")
PL.Parent = round
PL.Brightness = 50
PL.Color = Color3.new(255, 255, 0)
PL.Range = 10
PL.Shadows = true
