I recently returned to Roblox to find that all of my games have a experimental mode warning on them. I've never really been a up to date script and my code has usually been janky or out of date. Most of my games still work for the most part, but my GUIs are broken. Any of them requiring input just don't want to work anymore. Below is an example of a script I used to use in my buttons to turn on/off GUIs that has now broken. The page the experimental mode warning took me to is a 404 page and I have no idea where to start. Any help is appreciated.
one = script.Parent.Parent.labelOne two = script.Parent.Parent.labelTwo function toggle() if one.Visible == true then one.Visible = false two.Visible = false else one.Visible = true two.Visible = true end end script.Parent.MouseButton1Down:connect(toggle)
As long as this script is inside a local script it does not matter, experimental mode forces FE, Local Scripts do not get affected by FE, even if the game wasn't FE Local Script would still be the only way to make this work!
Hope this helped <3