SHOW:
|
|
- or go back to the newest paste.
1 | - | local RBX = "rbxassetid://" |
1 | + | |
2 | local character = Player.Character | |
3 | local GUI = Player.PlayerGui | |
4 | - | local GUI = Player.PlayerGui.MenusScreenGui.MainMenuWindow.Body.InfoFrame.MuteBGMusicButton |
4 | + | local SGUI = GUI.ScreenGui |
5 | - | local backgroundMusicSound = character:WaitForChild("BackgroundMusicLocalScript"):WaitForChild("Sound") |
5 | + | local Chat = SGUI.chat |
6 | - | local Module = Player.TempPlayerStatsModule |
6 | + | local Buttons = SGUI.buttons |
7 | - | local Crawl = Module.DisableCrawl |
7 | + | local Server = SGUI.server1 |
8 | - | local Beast = Module.IsBeast |
8 | + | local List = GUI.PlayerList.PlayerList |
9 | - | local BeastActive = false |
9 | + | |
10 | - | local Speed = Module.NormalWalkSpeed |
10 | + | |
11 | - | local PlayerNames = Player.PlayerGui.ScreenGui.PlayerNamesFrame |
11 | + | if Chat.Visible == false then |
12 | Chat.Visible = true | |
13 | else | |
14 | - | if Beast.Value == true then |
14 | + | Chat.Visible = false |
15 | - | Crawl.Value = false |
15 | + | end |
16 | - | Speed.Value = 16 |
16 | + | |
17 | if List.Visible == true then | |
18 | - | local Beast = Module.IsBeast |
18 | + | List.Visible = false |
19 | else | |
20 | List.Visible = true | |
21 | - | if PlayerNames.Visible == false then |
21 | + | end |
22 | - | PlayerNames.Visible = true |
22 | + | |
23 | - | else |
23 | + | if Buttons.Visible == false then |
24 | - | PlayerNames.Visible = false |
24 | + | Buttons.Visible = true |
25 | - | end |
25 | + | |
26 | Buttons.Visible = false | |
27 | - | if backgroundMusicSound then |
27 | + | |
28 | - | wait(.1) |
28 | + | elseif inputObject.KeyCode == Enum.KeyCode.RightShift then |
29 | - | if backgroundMusicSound.IsPlaying then |
29 | + | if Server.Visible == false then |
30 | - | backgroundMusicSound:Pause() |
30 | + | Server.Visible = true |
31 | - | GUI.Image = RBX.."2973636435" |
31 | + | |
32 | - | else |
32 | + | Server.Visible = false |
33 | - | backgroundMusicSound:Resume() |
33 | + | end |
34 | - | GUI.Image = RBX.."2973636234" |
34 | + | |
35 | - | end |
35 | + | |
36 | printoutput("This script was made by Squid#6245") | |
37 | game:GetService("UserInputService").InputBegan:connect(onKeyPress) |