No. Slender: The Eight Pages (and its successors) is a first-person horror game with no weapons or combat mechanics.
Your only tools are:
The core design relies on helplessness and evasion. Adding a gun would fundamentally break the intended horror experience. Mods adding weapons exist for the PC version but are unofficial and alter the game's purpose.