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 10 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 10 years ago
script.Parent:Play()
Ad
Log in to vote
0
Answered by 10 years ago
script.Parent:Play(function(OnPlayerEnter) -- Plays when someone enters the game.

end)
0
Put the script in the sound and the sound in workspace. digitalzer3 123 — 10y
Log in to vote
0
Answered by
woodengop 1134 Moderation Voter
10 years ago

Open LocalScript Then put this in StarterGui

Game.Workspace.Sound:play()

Just Leave the Sound in WORKSPACE

Log in to vote
-1
Answered by 10 years ago

Try this:

game: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