Use it like a real elevator. Press only one button at a time.
My first proper, realistic, working elevator! Comment if you find a bug where the indicator doesn't change (happens occasionally, :P). If I find one comment like that, I will add a reset button which resets the hidden floor variable to 1.