Intentionally lagging a server (for testing purposes)

I have an anti-cheat system some players have concerns over flaws in the anti-cheat whilst the server is lagging. I do have some measures in place to try and protect laggy players / servers as best as possible but I was wondering what is the best way to intentionally lag a server so I can test and make sure there are actual flaws before I start trying to fix them. What could I run in the f9 command bar to cause lag? I could do a while true do loop without a wait but that would crash the server entirely and I just want lots of server lag.

There’s a setting in the very bottom of studio settings which lets you simulate lag. There’s an identical option in the explorer as well - I believe its a setting of the Network container, but I don’t remember.

1 Like

maybe just use a loop to create thousands of parts? after around 10-20k unoptimized parts it will cause lag

1 Like

Where can I find this exactly? I cant find it.

Go to File → Settings → Network → IncomingReplicationLag.

3 Likes