Complex sentence: He attempts to kill and Amanda and Josh, but Josh shines the flashlight on Ray re-kills him, and thus finds out that everyone is vulnerable to light.
Split into simpler sentences: He attempts to kill and Amanda and Josh, but Josh shines some of the flashlights light on Ray. They find out that everyone is vulnerable to light.