Hi, I have been working on a project along side my friend for some time now. The game is coming together well. We have not used free models. Rarely I take a sound or a mesh from the toolbox, but that’s about it. Now there is a part spawning at (0,0,0) every second or so. The parts are yellow, red and green.
It’s lagging my game really badly. Also note that I am NOT playtesting, this is happening when I open my game.
Since I started writing this, about 200 new parts have spawned. I have absolutely no idea what could be causing this and how to remove it. I guess there is a virus somehow.
Did you check all the scripts? You could search using ctrl + shift + f and searching Instance.new("Part" (don’t put the bracket on the end, they might be using the parent parameter).
It’s possible for scripts to run without playtesting if triggered.
Open the microprofiler then go to the detailed mode and you’d be able to see which scripts are firing that often. It’s definitely some sort of script and not a virus.
Is there for some reason an ungrouped humanoid in workspace? A humanoid that is in workspace, not part of any model, will cause lag to your game. You could check for scripts by filtering your workspace in properties and typing “Script”.