-- Drag/Drop section BEGINS - Do not edit between BEGINS and ENDS.
local Audio = __Script.dragdrop.Audio
-- Drag/Drop section ENDS
-- the Audio Assembly has the AudioTrack as a child, called GlassSmash
print(Audio.GlassSmash.AudioBuffer)
print(Audio.GlassSmash.State)
-- Set the audio to be positioned relatively to the listener
Audio.GlassSmash.Relative = true
-- Set Gain to be 0.75
Audio.GlassSmash.Gain = 0.75
-- Set it to be RelativeTo world
Audio.GlassSmash.RelativeTo = 0
-- now trigger the audio track playback
Audio.GlassSmash.State = 1