How to detect when a mob/player has a certain effect?
For example I would want to give the player creative mode whenever they have speed/swiftness and have them go back in survival when that effect wears off I just don’t know how to detect a potion effect