I did this trap before so let me tell you, if you just put blocks where the players spawn (the place where players fit in the endstone block), they can exit the block freely. To prevent this from happening, you can put other blocks ontop, and around the respawn place. Even wools will work...