---------------------------------------Function end here.

end


Tool.Enabled = true
function onActivated()

	if not Tool.Enabled then
		return
	end

	--Tool.Enabled = false

	local character = Tool.Parent;
	local humanoid = character.Humanoid
	if humanoid == nil then
		print("Humanoid not found")
		return 
	end

	local targetPos = humanoid.TargetPoint
	local lookAt = (targetPos - character.Head.Position).unit

if (check()) then
	fire(lookAt)
wait(0.01)
Tool.Smoke.Smoke.Enabled = true
Tool.BAR1.Transparency = 1
Tool.BAR2.Transparency = 1
Tool.BAR3.Transparency = 1
Tool.BAR4.Transparency = 1
Tool.BAR5.Transparency = 1
Tool.BAR6.Transparency = 1
Tool.BARR1.Transparency = 0
Tool.BARR2.Transparency = 0
Tool.BARR3.Transparency = 0
Tool.BARR4.Transparency = 0
Tool.BARR5.Transparency = 0
Tool.BARR6.Transparency = 0
wait(0.01)
Tool.BAR1.Transparency = 0
Tool.BAR2.Transparency = 0
Tool.BAR3.Transparency = 0
Tool.BAR4.Transparency = 0
Tool.BAR5.Transparency = 0
Tool.BAR6.Transparency = 0
Tool.BARR1.Transparency = 1
Tool.BARR2.Transparency = 1
Tool.BARR3.Transparency = 1
Tool.BARR4.Transparency = 1
Tool.BARR5.Transparency = 1
Tool.BARR6.Transparency = 1
Tool.Smoke.Smoke.Enabled = false
	onActivated()
	end
	return

	--Tool.Enabled = true
end




script.Parent.Activated:connect(onActivated)
