So, I have a big problem that I need to address. Whenever I play my game on Roblox, everything is a bit delayed. If I click buttons it takes about 3-5 seconds before it actually does something. This isn’t the case for Studio. Nothing is delayed there. I know for a fact that is not the amount of parts because there is less than 1,500. It isn’t the frame rate because that runs nice and smooth too. It is there to fix this because this can be annoying to players, including myself.
I once had a game with over 1500 untracked memory; which caused a massive server script delay and it was because I put SERVER SCRIPTS under GUIs instead of localscripts (I was dumb at that time)
Also you gotta check the memory in old server, not in a new server because the memory leak happens over time and it doesnt effect the server that much for the first few hours.
I have figured it out. I have been using way too many loops in one of my scripts and once I modified it, it has stopped. Thank you so much for your time.