Hi @briandrogo,
If you want to learn the client script then please check it.
Another reference:
I hope this helps.
Thank You!