do note, on text does not react to what you yourself write (or at least: what the client the script is loaded in writes)

so if you want to trigger it yourself (read: if the client who loads the script wants to trigger it) you will have to use ON INPUT aswell