Yes, that's a bit tricky.
------------------------------------------------------------------------------
# Auth: Christopher Stone { Heavy Lifting by Shane Stanley }
# dCre: 2016/10/10 16:45
# dMod: 2016/10/10 16:45
# Appl: AppleScriptObjC
# Task: Play Sound
# Libs: None
# Osax: None
# Tags: @Applescript, @Script, @Play, @Sound, @Glass
------------------------------------------------------------------------------
use framework "Foundation"
use scripting additions
------------------------------------------------------------------------------
repeat 3 times
playGlass()
end repeat
------------------------------------------------------------------------------
--» HANDLERS
------------------------------------------------------------------------------
on playGlass()
set glassSound to current application's NSSound's soundNamed:"Glass"
tell glassSound
its |stop|()
set soundDuration to its duration()
its play()
end tell
current application's NSThread's sleepForTimeInterval:soundDuration
end playGlass
------------------------------------------------------------------------------