-
What do you want to achieve?
I want to change a part color when I click on a GUI button using a bindable event. -
What is the issue?
The bindable event doesn’t fire. -
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:
script.Parent.MouseButton1Click:Connect(function()
print("Firing Event...")
game.Workspace.Part.Event:Fire()
print("Event has been fired")
end)
-- Event script:
script.Parent.Event:Connect(function()
print("Event has been recieved")
script.Parent.Parent.BrickColor = BrickColor.new("Dark orange")
print("Event completed")
end)
--Output:
Firing Event...
Event has been fired
Game hierarchy:
Any help is appreciated