I'm currently working on a script for the player to press to show the level objectives on the screen like a HUD. Here I have chosen M is the key that the player has to press to show the objectives, and this is my script:
The problem is that with this script, the player has to HOLD M to show the objectives, but I want to press to show it then press it again to close it. I have made a script like this:
But it didn't work!
I want to press to show it then press it again to close it. Any ideas? Thanks in advance!
The author of this post has marked a post as an answer.
Go to answer