ShootModule.ActivateModule=function(G,n,Q,H)local g=Instance.new("\080\097\114\116")g.Transparency=1 g.CanCollide=false g.Anchored=true g.CanTouch=false g.CanQuery=false local x=g:Clone()x.Parent=game.Workspace x.Position=G local m=g:Clone()m.Parent=game.Workspace m.Position=n local T=Instance.new("\065\116\116\097\099\104\109\101\110\116")T.Parent=x local V=Instance.new("\065\116\116\097\099\104\109\101\110\116")V.Parent=m local p=(GunAssets:WaitForChild("\066\117\108\108\101\116\084\114\097\105\108")):Clone()p.Parent=Gun p.Attachment0=T p.Attachment1=V Debris:AddItem(x,.1)Debris:AddItem(m,.1)Debris:AddItem(T,.1)Debris:AddItem(V,.1)Debris:AddItem(p,.1)if Q then Q:TakeDamage(H)end end
-- / Functions / --
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
