Feel free to use this code (but you have to make your own sound).
Requirements: 30 of the exact sample but quieter each sample, <(variable)=(30)> "repeat until" loop, (variable) & set [variable] to (0). Look in the code to figure how to assemble the codeblocks in code order. Updated so it isn't late.