So i have a main menu designed and i would like to script a button to switch tabs. But for some reason the button doesn’t trigger the script what so ever and i’ve been looking for a solution for DAYS and i cannot find anything! Any solutions that i could try?
I already tried. Didnt work. That usually doesn’t really matter, since i have that multiple times, but the thing is that the script doesn’t get triggered at all. It should also execute the “print(yes)”, but it didn’t execute that either.
You should use the .Activated event on a TextButton. It has the additional benefit of being cross-platform, so whether you use a mouse, touch screen or controller, it will work
It’s just a normal LocalScript inside a textbutton. But what do you mean .Activated? I haven’t used that method before. Gotten a lil rusty after not working in studio with school and all. Can you give me an example?
I have found the the solution, i made a TYPO at players. I have never been this embarrassed in my entire life with one single forum BUT thank you everyone for helping anyways!