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
 

Scripting Help?

Previous Thread :: Next Thread 
TimeLordScience is not online. TimeLordScience
Joined: 26 Jan 2012
Total Posts: 6
25 Jan 2016 03:36 PM
I'm making a horror game and I know how to script well, but I'm wondering if it's possible to make a script in which there is music in the background of the game, but if a player steps on a brick or makes contact with a brick, a sound plays. How would I do this? Also, would I need a separate script for the same process but instead of having a player touch it, they can click a block with their cursor and it makes a noise?
Report Abuse
LuaAtrocities is not online. LuaAtrocities
Joined: 15 Jan 2012
Total Posts: 617
25 Jan 2016 07:48 PM
insert a sound into the playergui, then play it. Ta-da (either :Clone().Parent = playergui or Instance.new('Sound',playergui)) whatever event u connect it with will be the trigger
Report Abuse
TimeLordScience is not online. TimeLordScience
Joined: 26 Jan 2012
Total Posts: 6
25 Jan 2016 08:43 PM
Thanks, man. Appreciate it!
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