--Mobile Controllability

if UserInputService.TouchEnabled then
	ContextActionService:BindActionToInputTypes('RidableHorse_Dismount', (function()
		Dismount()
	end), true, Enum.KeyCode.LeftControl)
	ContextActionService:SetTitle("RidableHorse_Dismount", "Dismount")
end

ServerControl.Changed:connect(function(Property)
	if Property == "Parent" and not ServerControl.Parent then
		ContextActionService:UnbindAction("RidableHorse_Dismount")
		Debris:AddItem(script, 1)
	end
end)
