local Menu = game.StarterGui.Buttons.Frame
local CloseButton = game.StarterGui.Buttons.CloseButton
function leftClick()
Menu.BackgroundTransparency = 0.9
wait(0.4)
Menu.Visible = false
end
script.Parent.MouseButton1Click:Connect(leftClick)
This is my script. What I'm trying to do is make the GUI become slightly more transparent than it already was (which was at 0.8), before becoming invisible. When I test it in-game it doesn't do anything. What can I do to fix this?

1 comment
This didn't work for me