Rework paticles in lua