Credit to @SoapMan for this.
Use his guide: How to have an energy cap! (đźź©)
Devices
Now, make a Movement Meter like this:
Make the IIM like this:
Make a Property like this:
Make a Game Overlay like this:
Go to blocks, and make something like this(The number is your limit; you can change it):
Extra: Using the Questioner
Place your Questioner down. Make that answer questions button(If you want it).
Make a Checker like this:
The value part is your limit. This will check every time you have a change in Energy Level. Wire the checker to your questioner, making the Questioner screen close when the check passes.
Extra: Out of Energy Notification
Wire the Movement meter to a A Notification Device, showing it. The Notification will look something like this:
(I used Error for the Type).
You’re done! I hope this was useful!
-@Blizzy