My game has had a lot of lag lately, I checked out the other articles on this and did what they said but it still has an FPS of 20. I disabled and deleted some large scripts but those were not the issue. Does anyone know what the problem is? Here is my game:
Well obviously the main issue you got here is that you somehow managed to get an FRM Value of 5.09e+03
I literally do not understand in how you managed to get this, try looking around into the scripts incase theres a backdoor. make sure to press Ctrl + Shift + F then type in a “(” then search through each script to find what is causing this.
I deleted a ton of scripts I did not need and disabled the disco floor script which was the largest. The only other script I have is the team one and that cant be doing anything. I am making a new copy to see if that works.
Backdoors can be hidden making studio not be able to see the characters
There are no backdoors, I am trying out the new copy I made. I will tell you if this still odes not work.
Still does not work, even with the new copy. I might reach out to support because I have disabled most of my scripts.
what does your game mainly have within it?
My game has very few scripts, Only 2 have more than like 10 lines of script so far.
Just to know about it, what is an FRM value?
Look above it and says “Rendering” so it’s to do with rendering
What do your parts consist of within the game
My parts are mostly just ordinary parts, no meshes for that type of stuff.
While it’s possible your game has way too many parts, try to confirm that it is because there are too many parts. Make a new game, and clone every part into it.
local copy = Instance.new("Folder", game.ServerStorage)
for _, v in pairs(workspace:GetDescendants()) do
if v:IsA("BasePart") then
v.Parent = copy
end
end
This script will copy all the parts on workspace and put it inside a folder in serverstorage. Put the folder in serverstorage inside your new game and see if you have frame rate problems.
I do not know how to help you then
I just updated it and it seems to run smoother for me, I noticed a lot of scripts with nothing in them. But My disco floor still lags the game if I enable that script.
Just take off the disco floors colour changing then
The thing is that is the main part of the game so I need it, I might make less parts and make them squares.