This is a huge game mechanic. I would start with the tutorials. Once you've done a few of these then it will become clearer how to make this type of system. This is simple enough to make but it will require some basic knowledge of C2 and a lot of different systems working together such as game rounds, enemy spawning and placement, enemy health, player movement, player and enemy attacks, damage stat handling etc...