Hi TB , that should work if $speed is set to the correct effect ID... but I think the best way is to get the effect ID directly from the Effect class: PHP: use pocketmine\entity\Effect;...$player->removeEffect(Effect::SPEED);