Working on a Panic Button Script


I am trying to make a Panic Button Script that gives a notification, plays a sound, and makes a route to said player that is hitting the panic button. How should i go about this? and how do I make the script play a custom sound? Thanks for your help.

Here’s some things i’ve thought of so far…

  • GetEntityCoords(PlayerId(), trure)
    -SetNewWaypoint(Dont know how to do this)