I made a demo project for you some time ago, did you see it?
construct.net/en/forum/construct-3/how-do-i-8/load-list-names-randomly-pull-184710
It demonstrates how to load a list of names (teams) into an array, a dictionary, or a variable. And how to get a random name.
The screenshots have been super helpful. I'm also worried about using AJAX.LastData as I'm using that now in this project for a few different things, like team names (this situation we're discussing) but then also for a collection of player positions.
This is why I told you in another post not to use "Wait 4 seconds" before accessing AJAX.LastData!
AJAX has tags for this exact reason, to allow multiple requests running at the same time and distinguish between them. Once an AJAX request is completed, you need to immediately copy its data somewhere - into a variable/array etc. Because another request will replace AJAX.LastData