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 » Club Houses » ROBLOX Talk
Home Search
 

Re: Scripting Help (Sound stuff)

Previous Thread :: Next Thread 
robox44 is not online. robox44
Joined: 16 Sep 2008
Total Posts: 737
15 Aug 2011 11:42 PM
I need help with 1 little thing and the guys on the scripting forum wont respond
so i came here.
Anyways, I'm making this medieval game and I have 1 song that plays on a loop while u play
but U see, I wanna make it so when I get to like, a castle or something, it turns off that music and then puts on another
Any1 know how to do this?
I've asked alot of people and no one could help me. :S
Report Abuse
MadScientist42 is not online. MadScientist42
Joined: 21 Dec 2009
Total Posts: 2982
15 Aug 2011 11:44 PM
Local script. Make a script that puts the sound inside the person, so only that person can hear it, and when they touch the castle door, it changes the sound id to the other sound
Report Abuse
robox44 is not online. robox44
Joined: 16 Sep 2008
Total Posts: 737
15 Aug 2011 11:47 PM
The main sound is already local.
So... I haven't scripted from scratch in a while (about 4 months)
I should go like...
ok im already confused
I just know that i need to do something with local and (ontouch) and make the ID change
can you just type out a little script for me to copy and paste?
And the main music script is already a local one FYI
Report Abuse
TheNewFissy is not online. TheNewFissy
Joined: 03 Jan 2011
Total Posts: 1301
15 Aug 2011 11:49 PM
s=Instance.new("Sound")
s.Parent = game.Players.LocalPlayer
s.SoundId = 1337 -- change
s:Play()
s.Looped = true
Report Abuse
robox44 is not online. robox44
Joined: 16 Sep 2008
Total Posts: 737
16 Aug 2011 12:02 AM
K thanks
Just copy and paste, correct?
Report Abuse
robox44 is not online. robox44
Joined: 16 Sep 2008
Total Posts: 737
16 Aug 2011 12:03 AM
and do I put it into a big, cancollide=false, transparency=1 brick?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » ROBLOX Talk
   
 
   
  • 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