they will not get a ban from battleye however there is a chance you will(not from the script but from the executor). depending on the script, that will determine how the admin sees it if its logged such as using the owner command to get their client id and then using remoteExec(some servers dont protect) to run the script on their client or something with their ID for example