Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What are some ways that will make my game less laggy and run more smooth?

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.

1 answer

✓ Accepted answer

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:

  1. Lower the number of BaseParts in the game
  2. Make sure ParticleEmitter's have a low LifeTime and Rate
  3. Make sure you let the Client handle the effects.
  4. Attempt to improve your Code
  5. Use Unions Properly
  6. Try to use Low Poly meshes
  7. Avoid using the Transparency property for builds
  8. Instead of just moving a UI element of the screen, make it invisible as well
  9. Keep your code updated (not deprecated)
  10. No free models / anti-lag scripts
  11. 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

2 comments

0

Thanks for the advice!

0

No problem

This discussion is preserved as it was. New answers, comments, and votes are closed.