PHP: while($server->isLevelLoaded($levelName)){ $server->getLevelByName($levelName)->addParticle($particle);} This should do it, I think. Or if you want to go the easy way, use a repeating task.
i would use a repating task. but the thing is how would i go about doing that. i need to know how to set it in the air
You would use a task because you don't know how to use loops. A task would create much more lag. It's easy to spawn particles in the air, if you ever heard of y-coordinates.
Creating a task for this would just be a waste of time. Just use a loop. For it to spawn above the player you need to get the Y coordinate above that player.
He wants a firework? I already have the code concept in my head, I can give him the code if he confirms that it is fireworks that he wants.
no no. i have already done this. ok question: Is it posibble to have particles floating in the air. i have seen it done on a server