Need help with a script

The solution is to just remove the loop lel

I fixed it by removing the for i, and just doing

image