In order to kill maggots that are on the floor, you can use boiling water, vinegar and salt water sprat. Also you can use salt on them.