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 in-game?

Previous Thread :: Next Thread 
Marlov is not online. Marlov
Joined: 04 Oct 2012
Total Posts: 13945
22 Apr 2014 02:59 PM
I'm a huge newbie when it comes to scripting so this is waaay out of my league but is there a way to have music in game? Like playing automatically, no gui box or hidden boom boxes? just music playing on repeat?

i want to have this playing in my game
http://www.roblox.com/Legend-of-Zelda-Ocarina-Of-Time-Lon-Lon-Ranch-item?id=148695722

checkm8
Report Abuse
masterCameron101 is not online. masterCameron101
Joined: 28 Mar 2010
Total Posts: 1377
22 Apr 2014 03:03 PM
s=Instance.new("Sound",game.Workspace)
s.SoundId="http://roblox.com/asset/?id=148695722"
s.Looped=true
s:Play()

~masterCameron101, advanced Lua programmer, certified graphics designer and geek~
Report Abuse
Marlov is not online. Marlov
Joined: 04 Oct 2012
Total Posts: 13945
22 Apr 2014 03:04 PM
Thank you

checkm8
Report Abuse
masterCameron101 is not online. masterCameron101
Joined: 28 Mar 2010
Total Posts: 1377
22 Apr 2014 03:09 PM
Np, glad I could help. :)

~masterCameron101, advanced Lua programmer, certified graphics designer and geek~
Report Abuse
Marlov is not online. Marlov
Joined: 04 Oct 2012
Total Posts: 13945
22 Apr 2014 03:13 PM
oh jeez dumb question here but where would i put that

checkm8
Report Abuse
RosieLily is not online. RosieLily
Joined: 25 Feb 2014
Total Posts: 129
22 Apr 2014 03:16 PM
For the entire game you should use ServerScriptService
Report Abuse
masterCameron101 is not online. masterCameron101
Joined: 28 Mar 2010
Total Posts: 1377
22 Apr 2014 03:16 PM
Anywhere, as long as it's not in StarterGui or StarterPack. I recommend you put it in Workspace.

~masterCameron101, advanced Lua programmer, certified graphics designer and geek~
Report Abuse
RosieLily is not online. RosieLily
Joined: 25 Feb 2014
Total Posts: 129
22 Apr 2014 03:17 PM
Just stick it in a script there..
Report Abuse
Marlov is not online. Marlov
Joined: 04 Oct 2012
Total Posts: 13945
22 Apr 2014 03:23 PM
haha sorry i got it
never done a script before so i apologize

it works im so happy 8)

checkm8
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