Hi Vanise, Unfortunately this cannot be easily converted or in fact converted at all. There is a missing variable n which is not defined so it seems a line of code is missing. I even tried using ChatGPT to convert it but it also failed. I strongly suggest you try contacting the author of the script...