The infinite effect doesn't allow you to hide particles.
Exemple in the video below.
Attachments
Comments 4
to hide particles while have infinite effect, you need to use "/effect give <player-name> <effect> infinity <level> true". for example /effect give peashooter1590 speed infinity 1 true
You're missing the amplifier argument between the duration and hide particles arguments. Invalid.