This paper evaluates the electrochemical performance of platinum nanoparticles/Ti3C2Tx nanocomposite (Pt@Ti3C2Tx) towards environmental sensing applications. The nanocomposite was prepared by self-reduction of Pt salt to Pt nanoparticles (PtNPs) on the surface of delaminated Ti3C2Tx nanosheets, in which Ti3C2Tx simultaneously acted as reducing agent as well as conductive matrix. The Pt@Ti3C2Tx nanocomposites with different Pt loading have been electrochemically characterized and it was found that 10%Pt@Ti3C2Tx has the highest electrochemical activity in the anodic potential window. Hence, 10%Pt@Ti3C2Tx has been used to develop an electrochemical sensor for the detection of Bisphenol A (BPA), which is one of the common environmental pollutants. At the optimal conditions, the oxidation peak of BPA was proportional to the analyte concentration from 50 nM to 5 $\mu$M with a detection limit of 32 nM. The practical application of the proposed sensor was successfully evaluated in drinking water and fresh milk samples.