I want it when I press "q" the GUI appears or disappears for everyone.
function PressQ(key)
if (key == "p") then
if (Open == false) then
gui.Enabled = true
atv.Parent = gui
Open = true
elseif (Open == true) then
gui.Enabled = false
atv.Parent = game.ReplicatedStorage
Open = false
end
end
end
end

2 comments
Are you using the mouse or userinput
mouse