generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Music script not working

Previous Thread :: Next Thread 
ChosenDreamer is not online. ChosenDreamer
Joined: 23 Oct 2013
Total Posts: 15580
17 Jan 2014 05:01 PM

local s = Instance.new("Sound")

s.Name = "Sound"
s.SoundId = "http://www.roblox.com/asset/?id=142465860"
s.Volume = 2
s.Pitch = 2.5
s.Looped = true
s.archivable = false

s.Parent = game.Workspace

wait(0)

s:play()



It didnt have any errors, but it wont play the sound.
Report Abuse
Geomaster is not online. Geomaster
Joined: 05 Jul 2008
Total Posts: 1480
17 Jan 2014 05:03 PM
Troubleshooting:

Are your speakers turned down
Is the soundID a valid one
Did you capitalize the A in 'archivable'
Report Abuse
ChosenDreamer is not online. ChosenDreamer
Joined: 23 Oct 2013
Total Posts: 15580
17 Jan 2014 05:04 PM
yes
yes
no
Report Abuse
ChosenDreamer is not online. ChosenDreamer
Joined: 23 Oct 2013
Total Posts: 15580
17 Jan 2014 05:05 PM
Capitalized the A, No change.
Report Abuse
Geomaster is not online. Geomaster
Joined: 05 Jul 2008
Total Posts: 1480
17 Jan 2014 05:09 PM
Set looped to false
See if it plays then
If it does, it might not work on looped
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image