local function PianoTerra(sound)
if sound then
sound:Play()
end
-rest of the code-
end
PianoTerra(sound) --// with
PianoTerra() --// without
could always add a parameter to the function and add a conditional check
if you want it to play a sound pass the soundID into the function
if not then it'll just continue as usual