Mobile AutoJumpEnabled property value being disregarded by control modules

There is an issue involving a ControlModule that is the default for all mobile players. Regardless of the setting of ‘AutoJumpEnabled’ in StarterPlayer, the module seems to override this option and cause the player to automatically jump upon reaching an obstacle. This can be recreated using a mobile device or also using the emulator in ROBLOX Studio.

The module can be found inside the player as:
Player → PlayerScripts → PlayerModule → ControlModule → DynamicThumbstick

module

The setting appears to be overrided upon loading the character, as you can see here:

function DynamicThumbstick:OnCharacterAdded(char)
for _, child in ipairs(char:GetChildren()) do
	if child:IsA("Tool") then
		self.toolEquipped = child
	end
end

char.ChildAdded:Connect(function(child)
	if child:IsA("Tool") then
		self.toolEquipped = child
	elseif child:IsA("Humanoid") then
		self:EnableAutoJump(true)
	end

end)
char.ChildRemoved:Connect(function(child)
	if child == self.toolEquipped then
		self.toolEquipped = nil
	end
end)

self.humanoid = char:FindFirstChildOfClass("Humanoid")
if self.humanoid then
	self:EnableAutoJump(true)
end
end
6 Likes