How to make a script look at one till x

I am making a tower defense tho i have frames named one, two, three, four, five
image
i want it to start looking from one to five


in the circle i want to count from one to five because it goes to five in instant or four which i dont want
if you dont understand somthing please ask me
if you have discord this is my username “aadomy21”

Roblox Studio always sorts children in an alphabetical order. Instead of “Five”, “Four”, “Three”, … rename them to the actual numbers 1, 2, 3, 4, 5.

ok and how do i get from 1 to 5

Roblox does that automatically for you.

This also applies to getting children from a script.

uh


mostly works?

why did it skip 1 and went to 5

here is what i have

image

Reparent the frames to the Towers frame one after another and retry.

rejoined and it aranged
image

same problem :sob:

Why are you using ipairs in your loop? Maybe thats the problem.

Try just using pairs.

tryed using pairs and ipairs and nothing and still doesnt work