Advertisement
DevCats

Input Sound/Music | ROBLOX

Mar 20th, 2020
4,670
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. local Sound = Instance.new("Sound")
  2.  
  3. local Id = "" --ENTER THE SOUND ID HERE
  4.  
  5. Sound.Parent = game.Workspace
  6. Sound.SoundId = "rbxassetid://"..Id
  7. Sound.Playing = true
  8. Sound.Looped = true -- CHANGE TO FALSE IF YOU DON'T WANT IT TO LOOP
  9. Sound.Volume = 1 -- CHANGE THE VOLUME OF THE MUSIC DEFAULT(1)
  10.  
  11. print("SOUND HAS BEEN LOADED INTO GAME | THANK YOU FOR USING THIS SCRIPT")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement