k = Instance.new("Sound")
script.Parent.Enter.MouseButton1Click:Connect(function()
if k.SoundId == "Shrek" then
k.SoundId = "rbxassetid://".."2028376534" -- shrek national anthem
k.Playing = true
end
end)
script.Parent.Enter.MouseButton1Click:Connect(function()
if k.SoundId == "Sans" then
k.SoundId = "rbxassetid://".."2525122648" -- sans default dance
k.Playing = true
end
end)
script.Parent.Enter.MouseButton1Click:Connect(function()
if k.SoundId == "AW MAN" then
k.SoundId = "rbxassetid://".."1057637788" -- creepa, AW MAN. SO WE BACK IN THE MINE
k.Playing = true
end
end)
and i also tried
.
if k.SoundId == "rbxassetid://".."Shrek" then
It continuously fails to load sound ID
Failed to load sound rbxassetid://Sans: Unable to download sound data

3 comments
are you trying to make it so people can type out the sound instead of writing the numbers and then the sound will play?
yeah gamer
also give us the error so we know what we are working with