SAM and Sammy's Shammy Double Whammy was the name of a surreal play put on by pupils in Year 3 and 4 at St Matthew's Primary School in Stroud.
The young actors had been practicing since half term for the fantasy adventure, which focused on the story of two telepathic children who disappear into their computer.
They travel to Garlandia and are summoned by the evil Lord Gok and have to save the day.
Year 4 teacher Jan Gleed said: "The children loved every minute of it.
"They did two performances but wanted to do it again and again.
"It was very well-received by parents and pupils were given many compliments."
Parents were asked for donations when they came to watch the play and more than £100 was raised for Marie Curie Cancer Care.
Mrs Gleed worked with Year 3 teachers Lorna Morris and Sarah Strachen to help the children rehearse, while teaching assistants Caroline Evans and Linda Wilson made the pupil's stunning costumes.
The props, including a funny over-sized bath plug, were made by teaching assistant Lisa Oxford, and everyone pitched in to paint the scenery.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here