Variables and Arrays

Hey there, I’m trying to use two arrays to set specific points on a map for a character to teleport, but I want to use a variable to check the specific array child for both.

Pretty much I want to do this

I tried this here and it didn’t work, what do I do?

Hi - I dont think you need ToString and ToNumber there. You’re just dealing with numbers. I don’t know how you’ve set the structure.array up
you can do something like this - sort is the random number


Screenshot 2026-02-22 081055