Can someone fix up this script?

Chatgpt can easily do very simple tasks such as i asked it to do. Although you would normally give it more context. (wich i didnt) most errors caused by chatgpt can easily be fixed manually. (or you could just ask chatgpt to replace it If you explain the problem)

I think chatgpt or the roblox assistant are great tools for simple task and for searching to luau documentation.

keep in mind this was just an example and there should be given more context to the prompts given to chatgpt. My prompt was simply organize this luau code

Ya I don’t want to get off topic here. I stand by what I said. Last place I’d go to when learning how to code. I’ve never really paid into it however and just tried it out a few times. It never seems to pick the obvious answer so I don’t really trust it myself.

I didint use chat gpt… Tho uh idj

Then what is BRO DOING ON THE DEVFORUM

Oh,for this script.This script needs major inprovements