inputSamurai script chnage