#[Solved] Press a Key to keep a GUI open/closed
36 messages · Page 1 of 1 (latest)
** You are now Level 8! **
that does not work
just reverse the not to the end
so it would look likelua if Input.KeyCode == Enum.KeyCode.Tab and not p then settingsFrame.Visible = not settingsFrame.Visible end
and put that on the InputBegan
so it should look likelua function UpdateFrame(Input) if Input.KeyCode == Enum.KeyCode.Tab then settingsFrame.Visible = not settingsFrame.Visible end end uis:InputBegan:Connect(UpdateFrame)
the problem is that I need the unlockMouse() and lockMouse() things
I can't put 2 things before and after the not, right?
thats a example to do something like for example a Server LeaderBoard for top players
but thats for sorting the 100 < 1000 then it sorts whats the highest to lowest
or its the opposite
so how do I call the functions unlockMouse() and lockMouse() ?
Just add it in bruh
look
where
Okay do me a favour
Put your cursor after then
Then hit return
Now you can see the actual scope of the if statement
I don't have a cursor statement