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

I have Sound problems?

Asked by 10 years ago

So, I am making a basketball game, and it is natural to have sound on it. I made a script, but it doesn't work properly. This is it:

local sound = Instance.new("Sound")
sound.SoundId = "http://web.roblox.com/Eagles-Hotel-California-item?id=145120190"
sound.Parent = game.Workspace
sound.Volume = "10"
sound:Play()

2 answers

Log in to vote
4
Answered by 10 years ago

Change the SoundId to this: http://www.roblox.com/asset/?id=145120190

Has to be an asset!

0
Still doesn't work, should I Preload it? fight4money -2 — 10y
Ad
Log in to vote
-4
Answered by 10 years ago

Change the sound.SoundId part to this:

sound.SoundId = 145120190

Probably this will work.

Answer this question