Complex sentence: It will dig into the hole and will only emerge from the hole at night, when someone sees or touches it, that person will eventually die.
Split into simpler sentences: It will dig into the hole and will only emerge from the hole at night. When someone sees or touches it, that person will eventually die.