The cleanest fix is a walkthrough. Search for "Riddle School 3 walkthrough" and one of the fan guides will be on the first page of results.
These games lean heavily on small, easily missed interactions, so a step-by-step list saves a lot of aimless clicking. Read only as far as you need if you would rather not spoil the ending.