When I try out my own game "The War of Roblox" A game that you have to pick a certain character and fight in a city. But when I entered the server, I suddenly feel a little lag in my game. So I try to make this script to help make the game less lag. Am I doing this correctly? Please, help me.
mx = game.Debris
mx2 = game.Debris.MaxItems
if (mx.MaxItems > 100) then
mx.MaxItems = mx2*.75
end

3 comments
What is your game like? Combatting lag is tricky and it varies in application from game to game.
Last time i checked you didnt have a game on your account, so you're basically spamming the questions.
Can I get a script for rain like the one for snow earlier? Message me on ROBLOX at SouthCaroIina?