Trace Random number and display in Dynamic text field?

Iv got it to show what damage is done and it works but it keeps putting the health bar to 0 or less then 0 any idea’s? heres the code without tracing damage that worked fine with the health bar:

if (this.hitTest(_root.comments.myMovieClipInstanceGAME.Main.Fight.enemy))
        {
            attacked = true;
        
            _root.blood.gotoAndPlay(2);
            _root.comments.myMovieClipInstanceGAME.Main.Fight.hp2.health2-= 10 + Math.ceil(Math.random()*50) ;
            
            
            
        }

Damage tracing code:

if (this.hitTest(_root.comments.myMovieClipInstanceGAME.Main.Fight.enemy))
        {
			attacked = true;
        
            _root.blood.gotoAndPlay(2);
           var H = _root.comments.myMovieClipInstanceGAME.Main.Fight.hp2.health2 -=  TR;
			var TR =  10 + Math.ceil(Math.random()*50) ;
			var TR2 = TR;
			_root.comments.myMovieClipInstanceGAME.Main.Fight.rick_mc.At.my_txt.text = TR2;
			
			
        }

Thank you In Advance!