W A S D for player one/red I J K L for player two/blue Arrow Keys for player three/green easy mode: click the green flag as normal. Hard mode: click the green flag while holding shift (enabling turbo mode) then click the green flag again without holding shift.
credit to SuperGeMan and the original creator of undertale: toby fox!