Script cease working after certain point

So, script ceases working after print(“1”) point. What the problem could be in?

local mouse = player:GetMouse()
mouse.Button1Down:Connect(function()
	if equipped == true then
		print("1")
			if heavybleeding == true then
				print("2")
				used = true
				print("3")
				beforeapplying.Value = torso.Value
				print("4")
				torso.Value = 100
				print("5")
			if used == true then
				print("6")
				used = false
				print("7")
				torso.Value = beforeapplying.Value
				print("8")
				uses.Value =- 1
				print("9")
			end	
		end	
	end
end)

heavybleeding and used must both not be true. You can check this by adding to the print("1"):

print("1", heavybleeding, used)

Syntax problem.

local mouse = player:GetMouse()
mouse.Button1Down:Connect(function()
	if equipped == true then
		print("1")
			if heavybleeding == true then
				print("2")
				used = true
				print("3")
				beforeapplying.Value = torso.Value
				print("4")
				torso.Value = 100
				print("5")
            end
			if used == true then
				print("6")
				used = false
				print("7")
				torso.Value = beforeapplying.Value
				print("8")
				uses.Value =- 1
				print("9")
			end	
	end
end)