Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you change a sound ID remotely?

I have a GUI button meant to change the ID of the players death noise when it is clicked, however I keep getting this error

18:54:30.253 - Unable to load plugin icon. Image may have an invalid or unknown format.
18:54:32.274 - Soundid is not a valid member of Sound
18:54:32.275 - Script 'Players.Player.PlayerGui.ScreenGui.Frame.Archer.LocalScript', Line 16
18:54:32.275 - Stack End

How can I access the Soundid data of a sound?

Some things i've tried are this

player.Character.Head.Died.Soundid = bird.death.Soundid

and this

player.Character.Head.Died.Soundid = ("http://www.roblox.com/asset/?id=233856048")

Any ideas?

1 answer

✓ Accepted answer

The property is case sensitive, named SoundId.

3 comments

0

Wait, is that a capital I or an uncapital i?

0

@Smunkey Capital I (i)

0

It was a capital I, can't believe I didn't think of that. thanks though.

This discussion is preserved as it was. New answers, comments, and votes are closed.