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?
COMMUNITY QUESTION
Scripts run slower since I started filtering enabled?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

6 comments
Well, what do your scripts do?
Its a tool that does alot of different abilities when you press different buttons.
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?
how many loops does your code have?
By "a ton of lines," do you mean 1000+? That's probably pretty sloppy coding if so.
What do your scripts do?