Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- wait(5)
- local PlayerNames = Player.PlayerGui.ScreenGui.PlayerNamesFrame
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.Tab then
- if PlayerNames.Visible == false then
- PlayerNames.Visible = true
- else
- PlayerNames.Visible = false
- end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement