local function H(H)if not H then TouchJumpModule:Disable()elseif CurrentControlModule==ControlModules.Thumbpad or CurrentControlModule==ControlModules.Thumbstick or CurrentControlModule==ControlModules.Default then TouchJumpModule:Enable()end end local function W()if DevMovementMode==Enum.DevTouchMovementMode.ClickToMove or DevMovementMode==Enum.DevComputerMovementMode.ClickToMove or UserMovementMode==Enum.ComputerMovementMode.ClickToMove or UserMovementMode==Enum.TouchMovementMode.ClickToMove then if IsTouchDevice then ClickToMoveTouchControls=CurrentControlModule or ControlModules.Default end else if IsTouchDevice and ClickToMoveTouchControls then ClickToMoveTouchControls:Disable()ClickToMoveTouchControls=nil end end end
--[[ Local Functions ]]
--
local function setJumpModule(isEnabled)
	if not isEnabled then
		TouchJumpModule:Disable()
	elseif
		CurrentControlModule == ControlModules.Thumbpad
		or CurrentControlModule == ControlModules.Thumbstick
		or CurrentControlModule == ControlModules.Default
	then
		--
		TouchJumpModule:Enable()
	end
end

local function setClickToMove()
	if
		DevMovementMode == Enum.DevTouchMovementMode.ClickToMove
		or DevMovementMode == Enum.DevComputerMovementMode.ClickToMove
		or UserMovementMode == Enum.ComputerMovementMode.ClickToMove
		or UserMovementMode == Enum.TouchMovementMode.ClickToMove
	then
		--
		if IsTouchDevice then
			ClickToMoveTouchControls = CurrentControlModule or ControlModules.Default
		end
	else
		if IsTouchDevice and ClickToMoveTouchControls then
			ClickToMoveTouchControls:Disable()
			ClickToMoveTouchControls = nil
		end
	end
end
