Performance issues with my game

My game is experiencing server FPS drops leading to instability in my automatic train game.
Screenshot 2024-11-24 190141
The FPS drops are happening at an unexpectedly low part count, previously it used to work smoothly at this part count and even higher.
What is going on here and how do I fix it?