well the name of the sound you referenced was “MainSound”. why would you want to go into the sound id and pull a name out (which you can’t because it’s a number) when you can just use
That’s what’s causing the error, GetProductInfo requires an int64 (or, more specifically, a plain number). You can try to remove the rbxassetid:// part of the string, then turn it into a number using tonumber.
local snd = game.ReplicatedStorage.MainSound.SoundId
local proc = string.gsub(snd, "rbxassetid://", "")
local num = tonumber(proc)