2000 nissan wingroad

Have got codes and come back as crankshaft sensor. Would that cause the car to have bugger all power specially up hills
2000 Nissan Wingroad