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: Simple Audio Problem (Scripts)

Previous Thread :: Next Thread 
Imaginator113 is not online. Imaginator113
Joined: 31 Mar 2011
Total Posts: 9482
06 Jun 2014 02:54 PM
OK so I made an audio script in Sountrack :

functiononEntered()
sound.Play(154506802)
loop()
--Made by Imaginator113

Can anyone please fix this, thanks.
Report Abuse
Imaginator113 is not online. Imaginator113
Joined: 31 Mar 2011
Total Posts: 9482
06 Jun 2014 03:22 PM
Wow active today.
Report Abuse
Kacper is online. Kacper
Joined: 10 Dec 2007
Total Posts: 585
06 Jun 2014 03:25 PM
local mus = Instance.new("Sound")
mus.Name = Music
mus.Parent = game.Workspace
mus.SoundId = "154506802"
mus:Play()

- Kacper
Report Abuse
Kacper is online. Kacper
Joined: 10 Dec 2007
Total Posts: 585
06 Jun 2014 03:26 PM
Sry, made a mistake, take this:

local mus = Instance.new("Sound")
mus.Name = "Music"
mus.Parent = game.Workspace
mus.SoundId = "154506802"
mus:Play()

- Kacper
Report Abuse
tanlolol12345 is not online. tanlolol12345
Joined: 20 Jan 2012
Total Posts: 20664
06 Jun 2014 03:27 PM
if its for custom admin commands, you might want to try theese lines of code.

local mus = Instance.new("Sound")
mus.Name = "Music"
mus.Parent = game.Workspace

mus:Stop()
mus.SoundId = "154506802"
mus:Play()

I believe its latin for "Skip the boring parts".
Report Abuse
Kacper is online. Kacper
Joined: 10 Dec 2007
Total Posts: 585
06 Jun 2014 03:32 PM
@up - you did nothing better.
Report Abuse
tanlolol12345 is not online. tanlolol12345
Joined: 20 Jan 2012
Total Posts: 20664
06 Jun 2014 03:44 PM
however its crucial if hes changing the audio to stop it before you change to make sure it doesnt stick. trust me, ive experienced it before.

I believe its latin for "Skip the boring parts". | FRAPPE ATTACK!
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