i just recently learned how to script with filtering enabled. My scripts don't run how they used to before. The problem is basically lag. It runs perfectly in a world with nothing but a baseplate, but in a game with maybe 2k parts, my waits and loops run slower. Is this something I can fixe without having to rewrite my code?

6 comments

0

Well, what do your scripts do?

0

Its a tool that does alot of different abilities when you press different buttons.

0

I cant really paste the code because idk what makes it go slow, pretty much the entire thing. It’s a ton of lines and I get no error messages. Could it be because of my sloppy coding?

0

how many loops does your code have?

0

By "a ton of lines," do you mean 1000+? That's probably pretty sloppy coding if so.

0

What do your scripts do?