Lag In Roblox Games/Studio

Hello Roblox Developers, I’ve been making a game for a long time and recently I have added a new system to my game. Around 20 Scripts and 6 remote events are added to ServerScriptService and ReplicatedStorage respectively. However, I feel the lag when I am in game. Will this system I added affect my game’s performance?

ATTENTION!!! SOLUTION IS FROM POST #4

1 Like

If your computer if considered “fast” and it still lags, then I think probably the scripts are affecting your game’s performance.
But if it’s not “fast” then it might be something with your computer or something else, try lowering your graphics or make optimisations on your scripts

Also is it lag ( ping, related to internet ) or frame drops ( fps, computer performance related ), if it’s the 1st one, then my comment won’t help, it’s probably your internet connection

How to check ping :
shift+F3 or fn+shift+F3 ingame

How to check FPS:
Shift+F5 or fn+shift+f5

It depends on the players’ devices. If they have high-end devices, it likely won’t lag. If they have low-end devices, it will. You can add a way to choose between normal and an optimized version with lower graphics when the player joins the game if you are concerned about the lag.

1 Like

My FPS sudden drop when I equip a tool. (The tool has many scripts)

My computer is considered as fast actually

Then I think it’s probably something with one of the scripts, try using Script Performance in roblox studio to find which script is making your game lag

1 Like

How do I use it?(The script performance)

2 Likes

Alright, I check that 1 of my script is using so many activities in the game server, and I found the issue. Thank you for your help!

2 Likes

No problem!

( You can mark as solution so other people that have the same problem can see it)

1 Like

I can’t mark as solution I don’t know why…

2 Likes