Crankshaft position sensor

Help, mine is bad and i dont know where it is, do i have to rplace the whole distributor?

There are places that rebuilt distributors… try finding one of those. the CPS is in the Distributor.