I have gotten mob spawning to work properly. I made it work on left click so whenever I left click mobs spawn. But for some reason when moving it to the on player join event it stops working. Everything else works together outside of it but when I move it to player joins it stops. I inserted screenshots of every chest and the repeat forever loop.