Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local character = Player.Character
- local GUI = Player.PlayerGui
- local SGUI = GUI.ScreenGui
- local Chat = SGUI.chat
- local Buttons = SGUI.buttons
- local Server = SGUI.server1
- local List = GUI.PlayerList.PlayerList
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.LeftShift then
- if Chat.Visible == false then
- Chat.Visible = true
- else
- Chat.Visible = false
- end
- elseif inputObject.KeyCode == Enum.KeyCode.Tab then
- if List.Visible == true then
- List.Visible = false
- else
- List.Visible = true
- end
- elseif inputObject.KeyCode == Enum.KeyCode.LeftControl then
- if Buttons.Visible == false then
- Buttons.Visible = true
- else
- Buttons.Visible = false
- end
- elseif inputObject.KeyCode == Enum.KeyCode.RightShift then
- if Server.Visible == false then
- Server.Visible = true
- else
- Server.Visible = false
- end
- end
- end
- printoutput("This script was made by Squid#6245")
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement