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 » Scripters
Home Search
 

How to make music go off when a win occurs

Previous Thread :: Next Thread 
CPRAHQ is not online. CPRAHQ
Joined: 26 Feb 2012
Total Posts: 3511
22 Dec 2014 05:45 PM
I can't script and I will nedd help on where to put it
Report Abuse
WolfOfIvory is not online. WolfOfIvory
Joined: 29 Nov 2014
Total Posts: 54
22 Dec 2014 05:58 PM
How are you triggering the win? Is the player stepping on a brick to win or what?
Report Abuse
CPRAHQ is not online. CPRAHQ
Joined: 26 Feb 2012
Total Posts: 3511
24 Dec 2014 01:46 PM
So in mny Lazer Tag game if a team wins and the GUI comes up then the music goes off for 30 seconds
Report Abuse
cpmoderator12345 is not online. cpmoderator12345
Joined: 26 Jan 2013
Total Posts: 15651
24 Dec 2014 01:48 PM

if win==true then
local sound = Instance.new("Sound", workspace)
sound.SoundId = "www.roblox.com/asset/?id=idhere"
sound:play
end
Report Abuse
nobbers12345 is not online. nobbers12345
Joined: 06 Feb 2011
Total Posts: 4425
24 Dec 2014 01:49 PM
Since it sounds like your game is primarily free modeled (the scripts part at least). You're kinda on your own.
We don't know any variables to define a win.
We don't know the coding behind how a win is triggered.
We don't know where each part of the gui is to trigger the music.

SHADDAP YA TABLE
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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