In the film, a basilisk is paralysed by seeing its own reflection in a mirror. However, the glare of a basilisk would also paralyse any creature that it set eyes on, so the heroes of the film would have been paralysed the moment the basilisk discovers them.