cooldude78_cool

Untitled

Jan 12th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. music = Instance.new("Sound", game.Players.LocalPlayer.Character)
  2. music.SoundId = "rbxassetid://402822162"
  3. music.Looped = true --or false depending if you want it to loop or not
  4. music.Pitch = 1 --If you have a bypassed sound, change the pitch
  5. music.Volume = 4 --Depends on the amount of volume you want
  6. music:Play(276691995)
  7. local mesh = game.Players.LocalPlayer.Character.Head.Mesh
  8. local sound = game.Players.LocalPlayer.Character.Head.Mesh
  9. music:Play(276691995)
  10. game:GetService("RunService").RenderStepped:connect(function()
  11. local loudness = music.PlaybackLoudness
  12. mesh.Scale = Vector3.new(loudness, loudness, loudness) * 0.01
  13. end)
Advertisement
Add Comment
Please, Sign In to add comment