RF
ROBLOX FORUMβ€’3mo ago
Anon

GUI wont become invisible - Roblox Forum

local StarterGui = game:GetService("StarterGui") local Players = game:GetService("Players") local Player = Players.LocalPlayer local Menu = StarterGui.Menu.FrameMenu local Button = script.Parent local function moveMenu() if Menu then Menu.Visible = false print("done") else print ("error") end end Button.MouseButton1Click:Connect(moveMenu) I'm making menu and trying to make "play" button. So I want it to work like this: just make whole menu invisible when you click it. So as I do the script is fully working, I also used script to print value of his visible and it says visible = false after script. What's the issue: even with the fact that script is working and game information says that it's actually worked as I expected, on my screen it still visible. How I tried to fix it: actually I mostly used AI assistant to try fix it, I've tried to check again if I did wrong names, I tried to find if maybe another "Menu", I tried to use position off screen, but it still has the same problem. Help me please I can't just stop making the game :6 πŸ’ŽπŸ’ŽπŸ’ŽFree ROBUXπŸ’ŽπŸ’ŽπŸ’Ž
1 Reply

Did you find this page helpful?