Teleporting the Shadow ant out of the arena was a last ditch attempt. If they were going to die anyway, then Ray at least wanted to annoy the Shadow ant a little by making it harder to achieve its goal.
He had never expected what was to come from teleporting the ant out of there. As soon as they entered the swampy area, both of their feet sunk in the strange water-like mud up to their knees, then a message appeared in front of Ray.
[252/1000 tasks complete]
[New skills have been acquired]
It was the system. The system only completed tasks when he saved a life, and in return he gained a new skill every time he did. There were times where he saved people's lives and he never received a new skill from it. This was because the system was originally created by Bliss who could see the future.
For each life he did save, the system could already tell whether or not Ray had affected their future enough to know they had survived.