Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why does my game have so much lag? It became really slow. [Solved]

My game has really much lag. For example I did a while loop with a debounce of .3 seconds, it looked like 2 whole seconds. So while loops became laggy slow loops. Also, if I click a button to for example toggle a pointlight it takes like 1 second to process or something. Does anyone know how to fix this?

2 comments

0

Well, you could try checking your game for viruses. Maybe there's some viruses in your model, they always have names like "propergr@mmarneeded" and "vaccin", so try filtering for that kind of stuff. The second option is your computer lagging, which you can't really do anything about.

0

It is already fixed, it turned out I had over 5K while loops running. lol.

1 answer

You either have a virus in your workplace, or you have a really bad laptop/pc. < most likely situations

This discussion is preserved as it was. New answers, comments, and votes are closed.