Bindable event not firing from Gui button

  1. What do you want to achieve?
    I want to change a part color when I click on a GUI button using a bindable event.

  2. What is the issue?
    The bindable event doesn’t fire.

  3. What solutions have you tried so far?
    I have looked at many topics on the dev forum, but I have yet to find a solution.
    I have also tried using bindable functions but they didn’t work either.

-- GUI script:
	print("Firing Event...")
	print("Event has been fired")

-- Event script:
	print("Event has been recieved")
	script.Parent.Parent.BrickColor ="Dark orange")
	print("Event completed")

  Firing Event...
  Event has been fired

Game hierarchy:

Any help is appreciated

Localscripts don’t work when they are a descendant of workspace service and not parented by a character model at the same time.

1 Like

What @BenMactavsinsaid is correct.
Bindable are either Server > Server or Client > Client. Since localScripts don’t work in workspace there’s no client to fire to. In this case, you’d have to use a remoteEvent. I only recommend using bindableEvents in scripts within the same player or from 2 scripts in workspace

But what if I only want to change it for one player?

Change directly from the client, from the local script itself.

1 Like