KOTH Scripting

hey guys
So as you may have seen I’ve been churning a few maps out the past year or so. Just started getting back into it.
My question is does anyone know how to script KOTH? I pretty mu give up trying to figure it out and ive scoured youtube to no avail. I want to make one minor change and that is when a player leaves the hill it remains collecting points until another player takes it. Thanks guys