This has the same rules as my original version (https://scratch.mit.edu/projects/716612995) although now you have 100 health instead of 2 thousand and there is a victory and death scene now.
thanks to griffpatch for awesome number counters and 3d raycasting.