Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

How do you add sound to your game?

Asked by 10 years ago

Examples:

A short song to a intro

A beep sound if you entered a code

A creaking door when you open a haunted house's door

etc.

Anyone know how? :)

1 answer

Log in to vote
0
Answered by
Mr1Vgy 30
10 years ago

That's a pretty vague question, but here's the basics:

game.Workspace.Sound:Play()--do this to play the sound
wait(5)
game.Workpace.Sound:Pause()--this stops the sound

That's the basics. You just put the sound into the Workspace.

0
Okay, thanks :P Alyssall 0 — 10y
Ad

Answer this question