Advertisement
squidingtin

Breaking Point Features

Apr 1st, 2019
3,988
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Player = game.Players.LocalPlayer
  2.     local character = Player.Character
  3.         local GUI = Player.PlayerGui
  4.             local SGUI = GUI.ScreenGui
  5.                 local Chat = SGUI.chat
  6.                 local Buttons = SGUI.buttons
  7.                 local Server = SGUI.server1
  8.             local List = GUI.PlayerList.PlayerList
  9.         function onKeyPress(inputObject, gameProcessedEvent)
  10.             if inputObject.KeyCode == Enum.KeyCode.LeftShift then
  11.                 if Chat.Visible == false then
  12.                     Chat.Visible = true
  13.                 else
  14.                     Chat.Visible = false
  15.                 end
  16.             elseif inputObject.KeyCode == Enum.KeyCode.Tab then
  17.                if List.Visible == true then
  18.                     List.Visible = false
  19.                 else
  20.                     List.Visible = true
  21.                 end
  22.             elseif inputObject.KeyCode == Enum.KeyCode.LeftControl then
  23.                 if Buttons.Visible == false then
  24.                     Buttons.Visible = true
  25.                 else
  26.                     Buttons.Visible = false
  27.                 end
  28.             elseif inputObject.KeyCode == Enum.KeyCode.RightShift then
  29.                 if Server.Visible == false then
  30.                     Server.Visible = true
  31.                 else
  32.                     Server.Visible = false
  33.                 end
  34.             end
  35.         end
  36. printoutput("This script was made by Squid#6245")
  37. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement