Advertisement
RandomLuaScripter

[ROBLOX] Music Script

Feb 8th, 2018
24,540
1
Never
4
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 1 0
  1. -- WARNING: Be sure to make this a Script and place it in Workspace if you want it to work!
  2.  
  3. local sound = Instance.new("Sound")
  4.  
  5. sound.Name = "Sound"
  6. sound.SoundId = "http://www.roblox.com/asset/?id=874863250" -- Song ID at end.
  7. sound.Volume = 0.45 -- Derp (I have quality speakers you might need to change this.)
  8. sound.Pitch = 1 --Speed of Playback.
  9. sound.Looped = true
  10. sound.archivable = false
  11.  
  12. sound.Parent = game.Workspace
  13.  
  14. wait()
  15.  
  16. sound:play()
Advertisement
Comments
  • JEMP1305
    2 years
    # text 0.03 KB | 0 0
    1. works, but it should have controls
  • ShootemBeaut
    341 days (edited)
    # text 0.41 KB | 0 0
    1. local sound = Instance.new("Sound", game.Players.LocalPlayer.Character)
    2.  
    3. sound.SoundId = "http://www.roblox.com/asset/?id=1848354536" -- Song ID at end.
    4. sound.Volume = 1 -- Derp (I have quality speakers you might need to change this.)
    5. sound.Pitch = 1 --Speed of Playback.
    6. sound.Looped = true
    7.  
    8. wait()
    9.  
    10. sound:Play()
    11.  
    12. -- relaxed scene
    13.  
    14. -- its a better version you can change looped if you want and change the id
Add Comment
Please, Sign In to add comment
Advertisement