|
| 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 |
|
|
| 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 |
|
|
| 25 Jan 2016 08:43 PM |
| Thanks, man. Appreciate it! |
|
|
| Report Abuse |
|