The Adventures of Pinocchio
According to R. L. Stine, Slappy was inspired by the literary classic "The Adventures of Pinocchio". He liked the book's idea of a wooden puppet coming to life, so he created Slappy.