To get Luigi's key, go to the courtyard with the fountain and the ghosts. Look for the ghost that is larger than the others. Use Mario to stomp on him. Enter the small object that it drops to reach Boo's mansion. Get the first Star. On the second one, go up to the second floor. Continue on to defeat Big Boo and get Luigi's key.