TextButtonGui.MouseButton1Click not working in StarterGui

I am trying to use a MouseButton1Click event for the “Channel1Button”.

The issue is that the event simply isn’t working.

I already put the BillboardGUI in its proper place in the game.
Screenshot 2024-08-07 232454

Any help would be appreciated.

When the player joins the game, the StarterGUI is put into their PlayerGUI. So they arent clicking the button in StarterGUI, they’re clicking the button in PlayerGUI. So you would want to access the button in game.Players.LocalPlayer.PlayerGUI.

So instead of game:GetService("StarterGUI")
use game.Players.LocalPlayer.PlayerGUI

Hope this helps.

Edit: Make sure this is a localscript

2 Likes

Thank you! This helped save me from a lot of stress.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.