Advertisement
KlojoSS

epic time sound playbackloudness

May 18th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. -- Edited by Bram1507
  2.  
  3. wait()
  4.  
  5. ---- [[ GUI ]] ----
  6.  
  7. --[[local gui = Instance.new("ScreenGui")
  8. gui.Parent = game.Players.LocalPlayer.PlayerGui
  9. gui.Name = "SingGui"
  10. local frame = Instance.new("Frame")
  11. frame.Parent = gui
  12. frame.Name = "SongID's"
  13. local label1 = Instance.new("TextLabel")
  14. label1.Parent = frame]]--
  15.  
  16. ---- [[ Sound ]] ----
  17.  
  18. pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
  19. local plr = game.Players.Bram1507
  20. repeat wait() until plr.Character
  21. plr = game.Players.LocalPlayer
  22. char = plr.Character
  23. torso = char.Torso
  24. head = char.Head
  25.  
  26. sound = Instance.new("Sound", head)
  27. sound.SoundId = "rbxassetid://"
  28. sound.Volume = 4
  29. sound:Play()
  30. sound.Looped = true
  31. sound.Parent = game.SoundService
  32.  
  33. ---- [[ Player ]] ----
  34.  
  35.  
  36.  
  37. ---- [[ Chat ]] ----
  38.  
  39. plr.Chatted:connect(function(message)
  40. if message:sub(1,4) == "Play" then
  41. sound:Stop()
  42. sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6)
  43. sound:Play()
  44. end
  45. end)
  46.  
  47. ---- [[ Amount ]] ----
  48.  
  49. game:service'RunService'.RenderStepped:connect(function()
  50. game.Lighting.ClockTime = sound.PlaybackLoudness/15
  51. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement