Animation not playing when tool equipped?

I want an animation to play when I have a specific tool equipped, however it plays when I don’t have the tool equipped, and not when I do. (38)

As far as I’m aware, InputBegan should still fire even when a tool is equipped.

--// Input began
local function InputBegan(input, GPE)
	if GPE then return end
	if input.UserInputType ~= Enum.UserInputType.MouseButton1 and input.UserInputType ~= Enum.UserInputType.Touch then return end
	MouseDown = true

UserInputService.InputBegan:Connect(InputBegan) --// Input began

“GPE” means game processed event, and what is the engine doing? Processing your input. So GPE is always true since the tool is sinking the input. Just use tool.Activated – it fires on all machines.


I’m not putting a script inside every single too tho. The input began function still fires when i have a tool equipped. Everything inside of it fires. It’s just the animation does not play

Then remove the if GPE then return end check

The function still fires… tool or no tool. The GPE line is not preventing anything from happening