ContextActionService Makes Cursor Emit Effects

I added a new module online and this line started making the mouse cursor emit some kind of effect when you click anything, it also stops all tools from working. Any idea how I could track down the effect to stop it? :

ContextActionService:BindAction("normalPunch", mouseButtonHold, false, Enum.UserInputType.MouseButton1)

The mouse click effect

Thanks for helping in advance!

try making your “Frame” Active or Interactable False

1 Like

I’m not sure what frame you mean?

He’s assuming the effects are displayed onto a frame, and if the frame is interactable, then it will disturb the mouse click connection.

contextactionservice isn’t like user input service it binds everything at a priority level, your mouse input there is set at a higher priority than what other items use basically canceling out all interactions with them and only running your punch effect

I would like to know the solution.

Why don’t you just bind your input using user input service?

I did this and it worked.

while true do
if character:FindFirstChildOfClass("Tool") then
			ContextActionService:UnbindAction("normalPunch")
			local track = CombatState.currentTrack
			if track then
				track:Stop()
			end
			CombatState.mousePressed = false
			CombatState.isPlayingHold = false
		else
			ContextActionService:BindAction("normalPunch", mouseButtonHold, true, Enum.UserInputType.MouseButton1)
		end
end
``