what if i use modify code?

hey i'm using unity and i found a car script on a forum and i modify it to get rid of the input for forward and back and i was wondering if that was okey?