Im making a game, and a part of it is that when you press a button you get a random item (gun, sword, flashlight ect.) or a random ability (super speed, super jump ect.)
the player is allowed to have only one. if the player wants another ability/item they need to reset.
so how do i do that they cannot have any other abilities or items until they reset?
if you have any questions, feel free to ask me
hope you can help!