So essentially, I made a menu that fades away when the button is clicked, it works fine in experimental, but in the published version, It doesn't disappear. No errors show up in the developers console. I originally thought it might have to do with FE so I turned it off but that didn't help.
button = script.Parent.Enter button.MouseButton1Click:Connect(function() button.Active = false button.Visible = false for loop = 1,10 do wait(0.1) script.Parent.BackgroundTransparency = loop/10 game:GetService("RunService").Stepped:Wait() end end)
Game>StarterGUI>Menu(ScreenGUI)>MainFrame(Frame)>Script + Enter(Textbutton)
Every script in a GUI should be a local one, or else it won't work. I've encountered the same mistake too.