"Write a script for a realistic door that smoothly swing open when interacted by the player by pressing a key."