ShootModule.ActivateModule=function(C,l,x,p)local j=Instance.new("\080\097\114\116")j.Transparency=1 j.CanCollide=false j.Anchored=true j.CanTouch=false j.CanQuery=false local v=j:Clone()v.Parent=game.Workspace v.Position=C local b=j:Clone()b.Parent=game.Workspace b.Position=l local I=Instance.new("\065\116\116\097\099\104\109\101\110\116")I.Parent=v local t=Instance.new("\065\116\116\097\099\104\109\101\110\116")t.Parent=b local U=(GunAssets:WaitForChild("\066\117\108\108\101\116\084\114\097\105\108")):Clone()U.Parent=Gun U.Attachment0=I U.Attachment1=t Debris:AddItem(v,.1)Debris:AddItem(b,.1)Debris:AddItem(I,.1)Debris:AddItem(t,.1)Debris:AddItem(U,.1)if x then x:TakeDamage(p)end end

ShootModule.ActivateModule = function(StartPosition, HitPosition, EnemyHumanoid, Damage)
	local BulletNode = Instance.new("Part")
	BulletNode.Transparency = 1
	BulletNode.CanCollide = false
	BulletNode.Anchored = true
	BulletNode.CanTouch = false
	BulletNode.CanQuery = false
	
	local StartNode = BulletNode:Clone()
	StartNode.Parent = game.Workspace
	StartNode.Position = StartPosition
	
	local EndNode = BulletNode:Clone()
	EndNode.Parent = game.Workspace
	EndNode.Position = HitPosition

	local A0 =  Instance.new("Attachment")
	A0.Parent = StartNode
	
	local A1 = Instance.new("Attachment")
	A1.Parent = EndNode

	local BulletTrail = GunAssets:WaitForChild("BulletTrail"):Clone()
	BulletTrail.Parent = Gun
	BulletTrail.Attachment0 = A0
	BulletTrail.Attachment1 = A1

	Debris:AddItem(StartNode, 0.1)
	Debris:AddItem(EndNode, 0.1)

	Debris:AddItem(A0, 0.1)
	Debris:AddItem(A1, 0.1)

	Debris:AddItem(BulletTrail, 0.1)
	
	if EnemyHumanoid then
		EnemyHumanoid:TakeDamage(Damage)
		
	end
end
