i want to create zoom plugin so the plugin must Add slowness for Zoom When player sneaking. It not add Effect to player But it can send massage only. PHP: public function onSneak(PlayerToggleSneakEvent $event){ $player = $event->getPlayer(); if($event->isSneaking()){ $effect = Effect::getEffect(2); $effect->setAmplifier(10); $effect->setVisible(false); $effect->setDuration(100000000); $player->addEffect($effect); $this->getServer()->broadcastMessage("You Do it"); return true; } if(!($event->isSneaking())){ $player->removeEffect(2); $this->getServer()->broadcastMessage("You See it"); return true;}} MCPE 1.16.0