Hello, so i got a problem where the buttons are not working the script is a local script and is in starter gui and there are errors
local Frame = game.Workspace.ui.SurfaceGui.HS.ScrollingFrame.ExitButton10
Frame.MouseButton1Click:Connect(function()
Frame.Visible = false
end)
how ever these back buttons and exit buttons have stoped working after i have done that
script for the button the buttons are inside the workspace
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Visible = false
end)