The 1st Scroll: Go to the potion lab, then put stuff in to the pot and play the minigame. Use it on the one kid in the potion lab, then the one in the hall to get the scroll.
The 2ncd Scroll: go the classroom, and see the sleeping girl. Go to the dorms, and get the alarm clock from under the shaking box by move spell on the top one, and levitate on the bottom one. grab the alarm clock, and go back to the girl and click her.
The 3rd Scroll: go to the clock right outside the forbidden library. use the undo magic spell on the clock to get scroll.
The 4th Scroll: go up to the dorms. tap the kid and then tap the first torch, choose the right spell (somethin like Torchius Lightus or something) then do the same to the other torch on the other side of the room. Then go back to the book case in the dorm and tap the flying book. play the minigame and win the key. unlock the chest and give the hat to the kid.