How do I disable character movement?

I tried this and the player is still able to move around when they enter the trigger box.