Hello again! So, this Localscript is inside of a textbutton. When clicked, it is supposed to close startscreen (a frame) and open Step1 (another frame) Can you guys help me with why it won't work? I cannot use the output, because when I click 'Run' or 'Play Solo' my studio crashes :/
local startscreen = game.Players.LocalPlayer.PlayerGui.ScreenGui.startscreen
local step = game.Players.LocalPlayer.PlayerGui.ScreenGui.Step1
script.Parent.MouseButton1Click:connect(function()
startscreen.Visible = false
step.Visible = true
end)

1 comment
Hey! Thanks for the great answer! I know it isn't my computer, because it worked before the last studio update.