Image Sequence Wrong Framerate [help]

I have an image sequence script (not written by me) that has no defined way of setting the framerate. The script works fine, but the problem is that my animation of 10 seconds at 25fps is being animated by the script in 5seconds.

I am not a programmer but an artist, and have a basic understanding of programming. I do understand the script and how it works. But I can’t seem to found anywhere on the internet or figure out myself how to define the framerate/speed of the image sequence.

Is anyone able to help me out?

here is the script;
Sorry for the unorganised mess that it looks like, it just copy-pasted it from visual studio and it doesn’t do it correctly i’m seeing now, so i’ll add a screenshot too.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.U2D;
using UnityEngine.UI;

public class PNGSequence : MonoBehaviour
{
    public SpriteAtlas spriteAtlas;
    public Image image;
    private int index;
    public int startIndex = 100;
    public int EndIndex = 197;
    public string prefix;
    public bool loop = false;
    private bool doSingleSequence = true;
    private bool doSingleSequenceInverted = false;

    //rthh
    public void Start() {
        index = startIndex;
    }

    public void Update() {
        if (loop)
        {
            index++;
            if (index > EndIndex)
                index = startIndex;
        }
        else {
            if (doSingleSequence) {
                index++;
                if (index > EndIndex)
                {
                    doSingleSequence = false;
                    index = EndIndex;
                }

            } else if (doSingleSequenceInverted) {
                index--;
                if (index < startIndex)
                {
                    doSingleSequenceInverted = false;
                    index = startIndex;
                }
            }
        }
        image.sprite = spriteAtlas.GetSprite(prefix + index.ToString());
    }

    public void startSingleSequence(bool inverted = false) {
        loop = false;

        if (inverted)
        {
            doSingleSequence = false;
            index = EndIndex;
            doSingleSequenceInverted = true;
        }
        else {
            doSingleSequenceInverted = false;
            index = startIndex;
            doSingleSequence = true;
        }
    }

    public void setLoop(bool state) {
        doSingleSequence = false;
        doSingleSequenceInverted = false;
        loop = state;
    }

    public void reset()
    {
        loop = false;
        doSingleSequence = false;
        doSingleSequenceInverted = false;
        index = startIndex;
        image.sprite = spriteAtlas.GetSprite(prefix + index.ToString());
    }
}

Please use code tags to properly format your code on the forum: Using code tags properly

thanks man, i changed it!
first time posting here.