Hello, I need help. I want to make a store in my game to buy positions, because I want to make it so that when the player can click on the position that he wants to use, the effect is saved in a variable that is activated by pressing a key. and this will have an obvious price that can be bought until you have enough coins thanks in advance.don't worry about the effect I just need the code to be able to make the effect activate when you click it and that you can buy it having the necessary coins

