I been trying to add a sound into a cloned object and then play it. Though I've not sure what I've been doing wrong since there's no error in Dev Console or Output.
local sword=game.ReplicatedStorage.sword1v:Clone()
local sound = Instance.new("Sound")
local soundid = "3031372793"
local sp = sword.sound
sp.SoundId = soundid
sp.Volume = 3
sp:Play()
- After adding rbxassetid://, I now received an error on my output.
sound is not a valid member of MeshPart "sword1v"

4 comments
I will remember that, but now I have another error saying: sound is not a valid member of MeshPart "sword1v". any idea?
You forgot to parent sound.
Also you can just use sound instead of sp
I see, thank you