Hello, I have a problem with Versa. I have a code that I got from ChatGPT, but I put the code and make a build that deletes the code.

The code that ChatGPT gives you will always have issues because it doesn’t have enough knowledge about Verse. So, I recommend checking the official documentation or watching YouTube tutorials—there are plenty of them!

To handle a case that evaluates a string parameter, you can do it like this:

Funct(String:string):void=
        case(String):
            "Double Jump"=> #Do something
            "Invisibility"=> #Do something
            _=> # This works as a default (like an else)

This is a list of YouTube creators that can help you:
Pi Equals Three
Warforge
hawaiifilmschool
MaestroShark
Graeme Bull