Playing sounds on object collision without sound repeating itself

Thanks for the tips !