Topic category: Help with Minecraft modding (Java Edition)
Edit: Wrong title and incomplete details.
I'm still newbie here and I don't know if I did something wrong (but I still think I really did something wrong.)
Why is my overlay not showing?
Here's my procedure.
I have a scoreboard "dboxopen" and tried to use it as switch for the overlay. What I expect to happen is it will show the overlay when the score is 1 and 0 the opposite to the player who runs the command. But to no avail, it didn't worked. (Pic 2) I even tried to put tellraw debugging to see the results, It actually showed that the switch actually works, but again, it didn't showed the overlay. Even if I remove the execute command (which is, just the same as my previous attempt,) it just doesn't work.
I did add the procedure to the display overlay in-game so it's not the problem.
Alright, I finally got it.
https://mcreator.net/forum/72514/tutorialhow-make-togglable-overlay - This gave me the idea to just use a global variable instead.
What I did.
If it doesn't load - https://imgur.com/a/cFsHknM
Sorry If my English is bad, it's not my native language.