By R. L. Stine (author) Part of the Goosebumps. Slappyworld series
The Ghost of Slappy by R. L. Stine