Hey! I started making a game, I have already done a lot. but now when i try to sit or get in an elevator (teleports) the game laggs for everyone. It also laggs if i sit in a chair or just simply load in to the game. I’ve already tried a few things but am hopeless now. (see video for more info)
Have you used any items from the toolbox?
Sometimes they have scripts in them you don’t know about and affect your game in strange ways.
Search your Explorer window for scripts to see if something’s been put into your build.
Scripts aren’t usually labelled ‘infected’ if you get them from plugins or toolbox items.
If you have many people working on the place then maybe one of them are using a plugin that causes the infection.
It’s usually tough to find after it’s been infected because if someone created a script to cause this issue then they would have found some way to hide it inside another script or another way.
Who wrote the 200+ scripts in the game?
Some backdoored plugins can add malicious lines of code to existing scripts. Try using the global script search widget to see if anything is loading in an unauthorized model or script when the game starts. That’s my only guess.