Failed to load sound error

local part = script.Parent

local sound = Instance.new("Sound")
sound.SoundId = "1838673350" 
sound.Volume = 1 
sound.Looped = true 
sound.Parent = script.Parent



part.Touched:Connect(function(hit)
	local humanoid = hit.Parent:FindFirstChild("Humanoid")
	if humanoid then
		wait(1)
		sound:Play()
		print("Part!")
	end
end)

instead of

sound.SoundId = "1838673350"

try this

sound.SoundId = "rbxassetid://" .. 1838673350
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.