Players are automatically deemed as "hostile"

Does anyone have a script for this

Look for Calm AI scripts, there’s a bunch of free ones.

Framework?

Most are agnostic of a framework and you can see what they are doing to apply yourself if you want.