Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local RBX = "rbxassetid://"
- local Player = game.Players.LocalPlayer
- local character = Player.Character
- local GUI = Player.PlayerGui.MenusScreenGui.MainMenuWindow.Body.InfoFrame.MuteBGMusicButton
- local backgroundMusicSound = character:WaitForChild("BackgroundMusicLocalScript"):WaitForChild("Sound")
- local Module = Player.TempPlayerStatsModule
- local Crawl = Module.DisableCrawl
- local Beast = Module.IsBeast
- local BeastActive = false
- local Speed = Module.NormalWalkSpeed
- local PlayerNames = Player.PlayerGui.ScreenGui.PlayerNamesFrame
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.LeftShift then
- if Beast.Value == true then
- Crawl.Value = false
- Speed.Value = 16
- else
- local Beast = Module.IsBeast
- end
- elseif inputObject.KeyCode == Enum.KeyCode.Tab then
- if PlayerNames.Visible == false then
- PlayerNames.Visible = true
- else
- PlayerNames.Visible = false
- end
- elseif inputObject.KeyCode == Enum.KeyCode.LeftControl then
- if backgroundMusicSound then
- wait(.1)
- if backgroundMusicSound.IsPlaying then
- backgroundMusicSound:Pause()
- GUI.Image = RBX.."2973636435"
- else
- backgroundMusicSound:Resume()
- GUI.Image = RBX.."2973636234"
- end
- 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