--// Functions \\--

function sound.SoundInstance(sound)
	local soundInstance = Instance.new("Sound")
	
	soundInstance.SoundId = sound.SoundId
	soundInstance.PlaybackSpeed = sound.PlaybackSpeed
	soundInstance.PlayOnRemove = true
	soundInstance.Parent = soundService

	soundInstance:Destroy()
end

return sound
