Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player = game.Players.LocalPlayer
- c = Player.Character
- mouse = Player:GetMouse()
- c.Humanoid.MaxHealth = math.huge
- c.Humanoid.Health = math.huge
- s = Instance.new("Sound", c.Head)
- s.Looped = true
- s.Volume = 1
- Chatt=game:GetService("Chat")
- ---------------------------------------------------------------------------------------------------
- c.Humanoid.MaxHealth = math.huge
- c.Humanoid.Health = math.huge
- if Chatt.Chatted == "Play [id]" then
- s.SoundId = "rbxassetid://[id]"
- end
- wait()
- if s.IsPlaying == true
- then s:Stop()
- wait()
- s:Play()
- end
- -------------------------------------------------------------------------------------------------
- mouse.Button1Down:connect(function()
- game:GetService("Chat"):Chat(c, "Stopped : "..s.Name)
- s:Stop()
- end)
- mouse.KeyDown:connect(function(key)
- if key == "[" then
- s.Volume = s.Volume -.1
- game:GetService("Chat"):Chat(c, "Volume Is Now : "..s.Volume)
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "]" then
- s.Volume = s.Volume +.1
- game:GetService("Chat"):Chat(c, "Volume Is Now : "..s.Volume)
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "-" then
- s.Pitch = s.Pitch -.1
- game:GetService("Chat"):Chat(c, "Pitch Is Now : "..s.Pitch)
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "=" then
- s.Pitch = s.Pitch +.1
- game:GetService("Chat"):Chat(c, "Pitch Is Now : "..s.Pitch)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement