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

How to play a sound?

Asked by 11 years ago

I have tried Script.Parent:play Thats all I know and it didn't work. I want music to always be playing in my game. can someone help me? Any help is very much appreciated.

Sorry did not know what the tag should be.

4 answers

Log in to vote
0
Answered by 11 years ago
1script.Parent:Play()
Ad
Log in to vote
0
Answered by 11 years ago
1script.Parent:Play(function(OnPlayerEnter) -- Plays when someone enters the game.
2 
3end)
0
Put the script in the sound and the sound in workspace. digitalzer3 123 — 11y
Log in to vote
0
Answered by
woodengop 1134 Moderation Voter
10 years ago

Open LocalScript Then put this in StarterGui

1Game.Workspace.Sound:play()

Just Leave the Sound in WORKSPACE

Log in to vote
-1
Answered by 11 years ago

Try this:

1game:getService("CreatorName"):Preload("AssetLink")

On AssetLink change it to the ID Number of the Audio and CreatorName change it to who made it. MAKE SURE YOU PUT IT IN ServerScriptService

Answer this question