Morpheus

Morpheus 1.0.1

There was a few breaking bugs due to invalid definition names and flag names. That being said, this script is now DEPRECATED. If you'd like this functionality, Minecraft has this in Vanilla. It's a gamerule called "sleepingPlayerPercentage".