local sound1 = 144884872
local sound = Instance.new("Sound", Humanoid)
sound.SoundId = "rbxassetid://"..sound1
sound:Play()
COMMUNITY QUESTION
I am trying to clone sound, but it gives the error which says that it doesn't load..??
2 answers
Like poke said, Sound1 is a number and you cannot convert a number to a string. The following should work:
sound.SoundId = "rbxassetid://"..tostring(sound1)
I think the issue is your are trying to combine a string Val with a number value. In order to fix this, use the tostring() function to convert the number into a string.
This discussion is preserved as it was. New answers, comments, and votes are closed.
