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