Just for this to be answered
a = plr.PlayerGui.ScreenGui:WaitForChild("Shop") plr:GetMouse().KeyDown:connect(function(Key) if Key == "m" then a.Visible = not a.Visible end
local plr = game.Players.LocalPlayer plr.PlayerGui:WaitForChild("ScreenGui") a = plr.PlayerGui.ScreenGui:WaitForChild("Shop") plr:GetMouse().KeyDown:connect(function(Key) if Key == "m" then a.Visible = true a.Visible end end)
local plr = game.Players.LocalPlayer plr.PlayerGui:WaitForChild("ScreenGui") a = plr.PlayerGui.ScreenGui:WaitForChild("Shop") plr:GetMouse().KeyDown:connect(function(Key) if Key == "m" then a.Visible = not a.Visible end end)