Complex sentence: At school, Jake attempts to dress cool to impress Julianne, but when Jake discovers Julianne's scheme, he refuses to give her the project.
Split into simpler sentences: At school, Jake attempts to dress cool to impress Julianne. But when he discovers Julianne's scheme, Jake refuses to give her the project.