Advertisement
squidingtin

FTF player list tab

Mar 17th, 2019
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2.         wait(5)
  3.     local PlayerNames = Player.PlayerGui.ScreenGui.PlayerNamesFrame
  4.         function onKeyPress(inputObject, gameProcessedEvent)
  5.             if inputObject.KeyCode == Enum.KeyCode.Tab then
  6.                 if PlayerNames.Visible == false then
  7.                     PlayerNames.Visible = true
  8.                 else
  9.                     PlayerNames.Visible = false
  10.                 end
  11.             end
  12.         end
  13. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement