So what I want is a point in my code where it goes from one line to another. For example,
I want it to go from line 15 to line one
If you can help thanks, if not, all good.
Thanks, Massimo
The easiest way to do this would be to make a loop. At the top of you code put "while true do". This will loop the code. Put the end that is automatically added at the bottom, on line 17. This should look like: (im not bothered to go 15 lines down so just read the numbers)
1: while true do 2-16: your code 17: end
Goto statements are not supported in Luau. According to luau-lang.org/compatibility
"this complicates the compiler, makes control flow unstructured and doesn’t address a significant need"
Instead consider structured programming and the use of functions and iteration.