>>25506734
It depents upon which plastic it is. You can make your own plastic glue by making a slurry from a solvent and the plastic that you want to glue together. If it's ABS, use acetone, because it's the easiest to get. If acetone does not work, the best thing that you can use would be Dichloromethane, if you can get it. Alternatively Ethyl Acetate might work - it smells yummy - or Methyl Ethyl Ketone, short MEK. In any case, take some of the same plastic that you want to weld, make a slurry, and use that like normal glue. Depending upon plastic it may also be possible to weld stuff together just with the solvend, it it's clean even faces.
If that does not work, you could try welding it with heat - you'd need a piece of excess plastic though, or use something like epoxy glue.
Or you 3d print a replacement-part, and be done with it.