Luke is a lonely boy who is bullied at his new school. One day, the bullies trick him into believing an old lamp is magical and can grant wishes. That night, a genie appears from the lamp. Luke makes a wish to pass his exam, but when the genie appears during the test, Luke is disqualified for cheating. He angrily yells at the genie, causing the girl he likes to storm off. Luke wishes it had never happened, and the genie sends him back to before finding the lamp to try again. Weeks later, Luke is popular and passing his exams, with the girl on his arm.