Casper's Scare School

Casper's Scare School is a French–American animated series based on the computer animated film of the same name featuring the Harvey Comics cartoon character Casper the Friendly Ghost. The series aired on Cartoon Network in 2009, and a second season aired in 2012 with a new opening sequence, a new voice cast and a slightly different CGI animation style.

Jack Out of the Box (Season 2, Episode 18)
An old toy from the director, hypnotizes Jimmy and all the school to take revenge on him.