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?
You either have a virus in your workplace, or you have a really bad laptop/pc. < most likely situations