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

How do you change a sound ID remotely?

Asked by
Smunkey 95
8 years ago

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

Log in to vote
0
Answered by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
8 years ago

The property is case sensitive, named SoundId.

0
Wait, is that a capital I or an uncapital i? Smunkey 95 — 8y
0
@Smunkey Capital I (i) Shawnyg 4330 — 8y
0
It was a capital I, can't believe I didn't think of that. thanks though. Smunkey 95 — 8y
Ad

Answer this question