Fix NPE when trying to assign a script that isn't an assignment. Add a message to the player in its stead.