ok, I understand now.
Also, if you wanted to, you could do print(#buttons)
just to be extra sure. But it sounds like that is not the issue.
ok, I understand now.
Also, if you wanted to, you could do print(#buttons)
just to be extra sure. But it sounds like that is not the issue.
Welp, I wasted like 1 hour, and all the time when i put print statements inside button event handler, it didnt print at all.
uh oh i found out the error, you are getting the buttons from the starterGui instead of playerGui
get it by using LocalPlayer.ScreenGui
I think when i tried that before in other small projects it worked, but okay, i will try that
It worked! Thank you so much! I wasnt able to solve this after like 1-3 hours of trying!
no problem ;), good luck with your game tho
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.