this is some useful scripts that you may need, so far, there in only an init, tick, and state machine