Lua script to mimic buzzer on AUX6

How to make a script that would mimic buzzer behavior on AUX6 so that I do not have to modify Kore board?

SERVO14_FUNCTION=138

No script required.