Context Action Service stacking issue

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    Find a workaround and prevent this stacking issue for extra context I’m trying to recreate Double tapping W For Running with context action service.

  2. What is the issue? Include screenshots / videos if possible!
    Basically, whenever if you were to bind an Input to one of the base keybinds (w,a,s,d) it would override its base functionality to move the character is the issue.

video: vvura - Roblox Studio (gyazo.com)

Function = function(actionName, inputState, inputObject)
			local player = game.Players.LocalPlayer
			local char = player.Character
			if not char then return end
			local humanoid = char:FindFirstChild("Humanoid")
			if not humanoid then return end
			local animator = humanoid:FindFirstChildOfClass("Animator")
			if not animator then return end

			if inputState == Enum.UserInputState.Begin and tick() - LastWClick <= 0.50 then
				
			end
		end,
		CancreateTouchButton = true,
		Keybind = { Enum.KeyCode.W }

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I know using userinput service could prevent my issue but, I prefer using contextaction service and would like to counteract for this issue

I believe it’s how its intended to behave, since ControlModule uses ContextActionService, you could always use UserInputService for things like this

Yeah, you’re right I figured i could just hybrid the script with userinputService

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.