I am making a leaderBoard and i want it like Phantom Forces when you press Tab the leaderboard should pop up but it is not. Please help if you can.
local LeaderBoard.Main press.Tab:connect(function() if Main.Visible = false then game.StarterGui.LeaderBoard.Main.Visible = true end end end)
press.Tab:connect(function()
This is not how keyboard input works.
if Main.Visible = false then
You should use ==
in your if statement, or not Main.Visible
.
game.StarterGui.LeaderBoard.Main.Visible = true
local LeaderBoard.Main