As the title says, i'm looking for some ways that'll help make my game run more smooth. One of my biggest question is whether or not the amount of scripts you write influence how well the game runs. Any help would be appreciated.
Hey, my name is BlackOrange3343 and I'm here to help!
There is actually a whole article on how to reduce lag.
https://developer.roblox.com/articles/Fighting-Against-Lag
But some of the main things you want to do is:
- Lower the number of
BaseParts
in the game- Make sure
ParticleEmitter
's have a lowLifeTime
andRate
- Make sure you let the
Client
handle the effects.- Attempt to improve your
Code
- Use
Unions
Properly- Try to use Low Poly meshes
- Avoid using the
Transparency
property for builds- Instead of just moving a UI element of the screen, make it invisible as well
- Keep your code updated (not deprecated)
- No free models / anti-lag scripts
- In general, try to keep a lower amount of instances in the game
Anyway read the article and look at the section "Other articles you might read or like" and it will probably talk more into lag reduction.
Hopefully, this helped!
Best of luck developer!
BlackOrange3343