I know how to make an explosion. My question is why do people opt for creating the explosion from 0 instead of just making it the way you like and just cloning it when needed.
I simply want to know which ones more optimised for server performance.
For all I know, they are both basically the same. Do whatever you prefer. Cloning still will set the properties as if you did it manually on a new explosion.
Probably number 1, because at some point, you’ll have a lot of instances stored to be cloned, while for explosion, they should just be created, not cloned. Explosion is something that is easily created and deleted.
My bet is that cloning is faster, because then all the properties are set by the engine in C++ instead of in Lua. But the difference would probably be so minor that you should just use what you prefer. Like others have said.
I know this post is already solved, but I would like to add that you should absolutely not use the parent argument in Instance.new(). The parent should always be set after the properties.