So using Chat GPT, I've made a sword fight game with abilities. Such as Guardian Angel which gives you a forcefield for 3 seconds when activated with the keyboard key E. I have many more like the teleporter. Both swords use remote events and stuff which are usually activated when E is pressed. (Of course when you have the sword held out.)
❌Issue: I want to make a mobile gui button that is always on the screen no matter what sword you have. (Meaning just leave it as that.) And I want to make it work the same as when you would press E. If you have the sword equipped, you can press E to activate or press the button. Problem is I don't know how to do it and apparently neither does AI. This would be extremely appreciated since it's one of the last aspects of my game I need for it to work.