, whenever you play my game, a massive lag spike that freezes the screen happens every 1-3 sec that basically makes the game unplayable. i have no idea why this happens since i have an exact copy of the game which performs perfectly fine with no lag at all.
streaming enabled is on and i’ve only used maybe 2 free models so i’m pretty sure it isn’t a virus. and if it was, wouldn’t it also lag the copy?
here’s the game:
and here’s the copy which performs fine:
any help would be greatly appreciated!!
update: i found out the lag was caused by a donation board that i got off the toolbox… the only free model i used was causing it lol. thanks to everyone who gave tips/ways to try and fix it!!
It’s identical?
Any errors in the Output window?
Have you looked at the script performance to see what script is causing the spikes?
Have you used any plugins that may have inserted a script into something in the game, like the Lighting folder or any other other item with a triangle next to the name of it.
yes they’re the exact same except the copy has a few more parts but the same scripts and everything.
there are a few “infinite yield” warnings but i disabled the scripts that caused those warnings and the lag was still there.
how do you exactly access the script performance?
Infinite Yield is a command style exploit IIRC. It could be that.
Also, the problem sounds to me like a loop. Is any of your scripts by any chance looping through the workspace? (check for while true do loops and repeat until)
Which ro-defender plugin did you use?
If it wasn’t made by the original creator then it may be the source of your issues. @koziahss they’ve stated that this only happens on one copy of their place. If both are identical then any loops should be in both places.
i have a few scripts that continually check the time every 5 seconds but i’ve disabled them and tested the game and the lag was still there. plus the copy of the game has those same scripts yet there isn’t any lag
so when your on a script, press ctrl+f and in the search bar type require or getfenv and see which scripts have and dont have them. if its a verified script with require ignore it but if its in a free model DONT ignore it. any script with get fenv is a virus, delete the bit with getfenv and u should be good
Ok first thing turn off every single script in your game EVREY SINGLE ONE, if the lag persists then check your parts make sure their anchored, or use Render Distance | ROBLOX - YouTube render script which will only show some parts but put the rest in replicated storage I hope this helps solve your problem and please don’t give up hope cause you have a great game
Hey there. I just want to say this is happening with my game. What’s really wierd is that I disabled all of the scripts. Even the default ones and it still has those lag spikes.
After a few seconds it disappears. Only way to prevent the lag spikes is to set the performance quality to 1.