# How to Add Random Critical Hits in Scratch > Roll a 1-in-5 random number to deal double damage. Learn how to add random critical hits in Scratch with clean block recipes, testing tips, and related guides. ## Minimal Working Block Recipe Roll a 1-in-5 random number to deal double damage. Test this minimal version first, then tune numbers like speed, gravity, or timing to match your game feel. **Add Random Critical Hits script** - if <(pick random (1) to (5)) = (1)> then set [damage] to (20) else set [damage] to (10) Try it: Exciting combat variety with simple probability. ## Debugging Checklist & Next Steps If it behaves unexpectedly, verify initial variable resets on the green flag and check that continuous checks sit inside a forever loop. - [Related Deep-Dive Guide](/en/dictionary/operators/random/): Explore full mechanics and variations. - [All 120 Scratch How-To Recipes](/en/howto/): Return to the reverse lookup index. Updated: 2026-11-24 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/howto/critical-hit/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)