Please edit your post to use code-tags rather than plain text.
Devs cannot know which line you’re having the problem with so you should provide that information. An error saying that using an index on an array that is out of bounds is a pretty clear error that only you can debug TBH.
What have you done to try to solve it?
Here’s how to debug in Unity: Unity - Manual: Debug C# code in Unity