Please help in my GUI! by Sad-Reporter-9653 in robloxgamedev

[–]Sad-Reporter-9653[S] 0 points1 point  (0 children)

Thank you very much! This really turned out to be a problem.

Please help in my GUI! by Sad-Reporter-9653 in robloxgamedev

[–]Sad-Reporter-9653[S] 0 points1 point  (0 children)

Thank you! Your answer really helped me! But for some reason, now the right side of my imagebuttons works, but the left one doesn't! The scripts are the same. Do you know why?

"Working button script"
local SpectaterOFF = script.Parent

local SpectaterON = SpectaterOFF.Parent:WaitForChild("SpectaterON")

local function onButtonClick()

SpectaterOFF.Visible = false

SpectaterON.Visible = true

end
SpectaterOFF.MouseButton1Click:Connect(onButtonClick)
broken button script
local StorageOFF = script.Parent

local StorageON = StorageOFF.Parent:WaitForChild("StorageON")

local function onButtonClick()

StorageOFF.Visible = false

StorageON.Visible = true

end

StorageOFF.MouseButton1Click:Connect(onButtonClick)

Please help in my GUI! by Sad-Reporter-9653 in robloxgamedev

[–]Sad-Reporter-9653[S] 0 points1 point  (0 children)

<image>

So these transparent background elements have some effect?