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: changing audios

Previous Thread :: Next Thread 
wohoo1997 is not online. wohoo1997
Joined: 28 Jan 2011
Total Posts: 9101
24 Aug 2014 05:04 PM
i need help with changing audios at certain times for my rpg game at certain times...

night and day (i have day done, i just need it to change), dungeons, and bosses.


how can i do this?
Report Abuse
NotedDown is not online. NotedDown
Joined: 24 Sep 2013
Total Posts: 238
24 Aug 2014 05:06 PM
if day = true then
sound plays now
if night = true then
sound plays now
for iv in pair +_G - lookAngles+cframe-*angles.c67 + weld - camreatype = script
while true do night + end

end end)))))
Report Abuse
ForceSky is not online. ForceSky
Joined: 30 Jul 2012
Total Posts: 2379
24 Aug 2014 05:07 PM
if statements.

while wait() do
if game.Lighting.TimeOfDay == NIGHTTIME START then

elseif game.Lighting.TimeOfDay == DAYTIME START then

end
end

for the dungeons and bosses it would have to be different based on your game.
Report Abuse
wohoo1997 is not online. wohoo1997
Joined: 28 Jan 2011
Total Posts: 9101
24 Aug 2014 05:09 PM
@force, should i put in a certain wait time? im kind anew to scripting.
i can only script single sounds and disaster games so far really.
Report Abuse
wohoo1997 is not online. wohoo1997
Joined: 28 Jan 2011
Total Posts: 9101
24 Aug 2014 05:25 PM
oh, i also forgot to mention i wanna play a victory audio for when you beat a boss
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