The legislation would replace the current Texas law , which gives school districts the option of holding a period of silence and reciting the pledge .